diff options
Diffstat (limited to 'src/video/video_driver.cpp')
-rw-r--r-- | src/video/video_driver.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/video/video_driver.cpp b/src/video/video_driver.cpp index cb81f857d..49337c03a 100644 --- a/src/video/video_driver.cpp +++ b/src/video/video_driver.cpp @@ -19,7 +19,7 @@ bool _video_hw_accel; ///< Whether to consider hardware accelerated video drivers. -bool VideoDriver::Tick() +void VideoDriver::Tick() { auto cur_ticks = std::chrono::steady_clock::now(); @@ -66,12 +66,10 @@ bool VideoDriver::Tick() ::InputLoop(); UpdateWindows(); - this->CheckPaletteAnim(); - return true; + this->CheckPaletteAnim(); + this->Paint(); } - - return false; } void VideoDriver::SleepTillNextTick() |