diff options
Diffstat (limited to 'src/video/video_driver.cpp')
-rw-r--r-- | src/video/video_driver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/video_driver.cpp b/src/video/video_driver.cpp index 3f4fba6dd..d20879be9 100644 --- a/src/video/video_driver.cpp +++ b/src/video/video_driver.cpp @@ -55,6 +55,7 @@ bool VideoDriver::Tick() /* Avoid next_draw_tick getting behind more and more if it cannot keep up. */ if (this->next_draw_tick < cur_ticks - ALLOWED_DRIFT * this->GetDrawInterval()) this->next_draw_tick = cur_ticks; + while (this->PollEvent()) {} this->InputLoop(); ::InputLoop(); UpdateWindows(); |