fixed text referencing GLFW library in SDL examples

This commit is contained in:
zryan3 2015-11-27 23:04:35 -07:00
parent b4556c404d
commit aa6cb32bd4
2 changed files with 2 additions and 2 deletions

View File

@ -356,7 +356,7 @@ void ImGui_ImplSdlGL3_NewFrame()
g_Time = current_time;
// Setup inputs
// (we already got mouse wheel, keyboard keys & characters from glfw callbacks polled in glfwPollEvents())
// (we already got mouse wheel, keyboard keys & characters from SDL_PollEvent())
int mx, my;
Uint32 mouseMask = SDL_GetMouseState(&mx, &my);
if (SDL_GetWindowFlags(g_Window) & SDL_WINDOW_MOUSE_FOCUS)

View File

@ -242,7 +242,7 @@ void ImGui_ImplSdl_NewFrame(SDL_Window *window)
g_Time = current_time;
// Setup inputs
// (we already got mouse wheel, keyboard keys & characters from glfw callbacks polled in glfwPollEvents())
// (we already got mouse wheel, keyboard keys & characters from SDL_PollEvent())
int mx, my;
Uint32 mouseMask = SDL_GetMouseState(&mx, &my);
if (SDL_GetWindowFlags(window) & SDL_WINDOW_MOUSE_FOCUS)