Examples: SDL: Using SDL_GetPerformanceCounter() / SDL_GetPerformanceFrequency() to handle framerate over 1000 fps properly. Noticed bad inputs artefacts in Nav branch at 2000 fps without this. (#996)
1 parent 60fb7d3 commit fcf1c9d151c5a53ded2982ba3dc7109da071bcb4
@omar omar authored on 5 Feb 2018
Showing 2 changed files
View
examples/sdl_opengl2_example/imgui_impl_sdl_gl2.cpp
View
examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp