Feature: allow a toggle to enable/disable vsync
Vsync should be off by default, as for most players it will be better to play without vsync. Exception exist, mainly people who play in fullscreen mode.
This commit is contained in:
committed by
Patric Stout
parent
56f982fa7f
commit
f0f2073006
@@ -21,6 +21,7 @@
|
||||
#include "video_driver.hpp"
|
||||
|
||||
bool _video_hw_accel; ///< Whether to consider hardware accelerated video drivers.
|
||||
bool _video_vsync; ///< Whether we should use vsync (only if _video_hw_accel is enabled).
|
||||
|
||||
void VideoDriver::GameLoop()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user