Examples: SDL: Made ImGui_ImplSdlGL3_NewFrame() signature match GL2 one

This commit is contained in:
ocornut
2016-03-25 22:27:43 +01:00
parent e6c2c1fcfd
commit fdc4299c6c
5 changed files with 11 additions and 14 deletions

View File

@@ -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.