1
0
Fork 0
forked from suyu/suyu

input_common/sdl_impl: Remove unused variable in SDLState constructor

This commit is contained in:
Lioncash 2019-03-17 04:02:48 -04:00
parent 29c242721a
commit 834d3fe336

View file

@ -477,7 +477,6 @@ SDLState::SDLState() {
if (start_thread) { if (start_thread) {
poll_thread = std::thread([&] { poll_thread = std::thread([&] {
using namespace std::chrono_literals; using namespace std::chrono_literals;
SDL_Event event;
while (initialized) { while (initialized) {
SDL_PumpEvents(); SDL_PumpEvents();
std::this_thread::sleep_for(std::chrono::duration(10ms)); std::this_thread::sleep_for(std::chrono::duration(10ms));