From 44761adc9322fc5edc9b01cad7bb1eb59a22e2a9 Mon Sep 17 00:00:00 2001 From: AnotherSeawhite <52661206+AnotherSeawhite@users.noreply.github.com> Date: Tue, 2 Apr 2024 14:41:01 +0900 Subject: [PATCH] Update src/options.cpp Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/options.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/options.cpp b/src/options.cpp index 2675d931d5b99..a768432169b63 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -2648,11 +2648,11 @@ void options_manager::add_options_graphics() false, COPT_CURSES_HIDE ); - #if defined(SDL_HINT_RENDER_VSYNC) - add( "VSYNC", graphics, translate_marker( "Use VSync" ), - translate_marker( "Enable vertical synchronization to prevent screen tearing. VSync can slow the game down a lot. Requires restart." ), - false, COPT_CURSES_HIDE - ); +#if defined(SDL_HINT_RENDER_VSYNC) + add( "VSYNC", graphics, translate_marker( "Use VSync" ), + translate_marker( "Enable vertical synchronization to prevent screen tearing. VSync can slow the game down a lot. Requires restart." ), + false, COPT_CURSES_HIDE + ); #endif #if defined(__ANDROID__)