Browse Source

sdl_impl: Pump SDL Events at 1000 Hz

pull/15/merge
Morph 5 years ago
parent
commit
e7e8a87927
  1. 2
      src/input_common/sdl/sdl_impl.cpp

2
src/input_common/sdl/sdl_impl.cpp

@ -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);
}
});
}

Loading…
Cancel
Save