diff options
Diffstat (limited to 'hotfix-03_fix-enable-vsync-by-default-4433.patch')
-rw-r--r-- | hotfix-03_fix-enable-vsync-by-default-4433.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/hotfix-03_fix-enable-vsync-by-default-4433.patch b/hotfix-03_fix-enable-vsync-by-default-4433.patch new file mode 100644 index 0000000..1122713 --- /dev/null +++ b/hotfix-03_fix-enable-vsync-by-default-4433.patch @@ -0,0 +1,26 @@ +From 4cc938973fab92800916dc99da5542bbcee14fa7 Mon Sep 17 00:00:00 2001 +From: scarf <greenscarf005@gmail.com> +Date: Thu, 4 Apr 2024 18:14:18 +0900 +Subject: [PATCH] fix: enable vsync by default (#4433) + +was causing issues on windows +--- + src/options.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/options.cpp b/src/options.cpp +index 684e8cbd48e..6bd5219ee22 100644 +--- a/src/options.cpp ++++ b/src/options.cpp +@@ -2093,7 +2093,7 @@ void options_manager::add_options_graphics() + #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 ++ true, COPT_CURSES_HIDE + ); + #endif + +-- +2.43.0 + |