diff options
author | Patric Stout <truebrain@openttd.org> | 2021-04-10 14:53:26 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-04-11 14:26:00 +0200 |
commit | f0f20730067ef79dd87fd24b5a670ef3f38c0b88 (patch) | |
tree | f11a3f4093d92ebc80b8a8e6d2fda603ab94ff53 /src/table | |
parent | 56f982fa7f6da6134cff0d81040ebdf39b72ea2d (diff) | |
download | openttd-f0f20730067ef79dd87fd24b5a670ef3f38c0b88.tar.xz |
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.
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/misc_settings.ini | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/table/misc_settings.ini b/src/table/misc_settings.ini index 9286d1c95..49a4caa14 100644 --- a/src/table/misc_settings.ini +++ b/src/table/misc_settings.ini @@ -77,6 +77,12 @@ var = _video_hw_accel def = true cat = SC_BASIC +[SDTG_BOOL] +name = ""video_vsync"" +var = _video_vsync +def = false +cat = SC_BASIC + [SDTG_OMANY] name = ""support8bpp"" type = SLE_UINT8 |