mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-06 04:20:08 +00:00
Examples: SDL: Made ImGui_ImplSdlGL3_NewFrame() signature match GL2 one
This commit is contained in:
parent
e6c2c1fcfd
commit
fdc4299c6c
5 changed files with 11 additions and 14 deletions
|
|
@ -185,7 +185,7 @@ void ImGui_ImplSdl_InvalidateDeviceObjects()
|
|||
}
|
||||
}
|
||||
|
||||
bool ImGui_ImplSdl_Init(SDL_Window *window)
|
||||
bool ImGui_ImplSdl_Init(SDL_Window* window)
|
||||
{
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.KeyMap[ImGuiKey_Tab] = SDLK_TAB; // Keyboard mapping. ImGui will use those indices to peek into the io.KeyDown[] array.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue