diff options
-rw-r--r-- | src/video/video_driver.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp index b87dc7052..458c67402 100644 --- a/src/video/video_driver.hpp +++ b/src/video/video_driver.hpp @@ -316,6 +316,8 @@ protected: std::chrono::steady_clock::duration GetDrawInterval() { + /* If vsync, draw interval is decided by the display driver */ + if (_video_vsync && _video_hw_accel) return std::chrono::microseconds(0); return std::chrono::microseconds(1000000 / _settings_client.gui.refresh_rate); } |