Ticket #4408: dont_poll_SDL_events_v1.patch
File dont_poll_SDL_events_v1.patch, 576 bytes (added by , 7 years ago) |
---|
-
source/tools/atlas/GameInterface/GameLoop.cpp
static void* RunEngine(void* data) 214 214 215 215 ReloadChangedFiles(); 216 216 217 217 RendererIncrementalLoad(); 218 218 219 // Pump SDL events (e.g. hotkeys)220 SDL_Event_ ev;221 while (in_poll_event(&ev))222 in_dispatch_event(&ev);223 224 219 if (g_GUI) 225 220 g_GUI->TickObjects(); 226 221 227 222 state.view->Update(state.realFrameLength); 228 223