summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-03-08 15:42:39 +0100
committerGitHub <noreply@github.com>2021-03-08 15:42:39 +0100
commitb93d7dd3cbd6dae2011e7863ba8a7aa19614771e (patch)
tree83d4630bfbcafc4875479fe8f796f3a3c8703691 /src/widgets
parent6e2a96c1333a0d383c7a0191c75dabd837feeeb5 (diff)
downloadopenttd-b93d7dd3cbd6dae2011e7863ba8a7aa19614771e.tar.xz
Add: Option to (dis-)allow accelerated video drivers. (#8819)
The video drivers using the OpenGL backend are currently our only accelerated drivers. The options defaults to off for macOS builds and to on everywhere else. Co-authored-by: Michael Lutz <michi@icosahedron.de>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/settings_widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/settings_widget.h b/src/widgets/settings_widget.h
index 2eb6180f5..0b816ee1f 100644
--- a/src/widgets/settings_widget.h
+++ b/src/widgets/settings_widget.h
@@ -32,6 +32,7 @@ enum GameOptionsWidgets {
WID_GO_BASE_MUSIC_TEXTFILE, ///< Open base music readme, changelog (+1) or license (+2).
WID_GO_BASE_MUSIC_DESCRIPTION = WID_GO_BASE_MUSIC_TEXTFILE + TFT_END, ///< Description of selected base music set.
WID_GO_FONT_ZOOM_DROPDOWN, ///< Dropdown for the font zoom level.
+ WID_GO_VIDEO_ACCEL_BUTTON, ///< Toggle for video acceleration.
};
/** Widgets of the #GameSettingsWindow class. */