sdl_impl: Pump SDL Events at 1000 Hz

This commit is contained in:
Morph 2020-11-15 23:32:58 -05:00
parent 7af3c351ac
commit f5ee5e7f3c

View file

@ -698,7 +698,7 @@ SDLState::SDLState() {
using namespace std::chrono_literals;
while (initialized) {
SDL_PumpEvents();
std::this_thread::sleep_for(5ms);
std::this_thread::sleep_for(1ms);
}
});
}