From 1c0c2b7345192d08472aab979849d63b9cda88e1 Mon Sep 17 00:00:00 2001 From: Sergii Pylypenko Date: Sun, 25 Apr 2021 23:48:28 +0300 Subject: [PATCH] Fixed a crash in game options dialog --- src/settings_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index cee0067d33..5e5df4c9d7 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -700,9 +700,11 @@ struct GameOptionsWindow : Window { this->SetWidgetLoweredState(WID_GO_16BPP_BUTTON, _ini_blitter == "16bpp-simple"); this->SetWidgetLoweredState(WID_GO_32BPP_BUTTON, _ini_blitter == "32bpp-anim" || _ini_blitter == ""); +#if 0 #ifndef __APPLE__ this->SetWidgetLoweredState(WID_GO_VIDEO_VSYNC_BUTTON, _video_vsync); this->SetWidgetDisabledState(WID_GO_VIDEO_VSYNC_BUTTON, !_video_hw_accel); +#endif #endif bool missing_files = BaseGraphics::GetUsedSet()->GetNumMissing() == 0;