SDL example: tweaks (#233 #226)

This commit is contained in:
ocornut
2015-07-08 11:42:43 -06:00
parent 19e3c1506f
commit 1845ff4690
3 changed files with 13 additions and 13 deletions

View File

@ -44,7 +44,7 @@ int SDL_main(int, char**)
SDL_Event event;
while (SDL_PollEvent(&event))
{
ImGui_ImplSdl_EventCallback(event);
ImGui_ImplSdl_ProcessEvent(&event);
if (event.type == SDL_QUIT)
done = true;
}