summaryrefslogtreecommitdiff
path: root/hotfix-03_fix-enable-vsync-by-default-4433.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2024-04-13 10:48:17 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2024-04-13 10:48:17 -0700
commitd462976880e311e8cf122099b43e1293f58544e9 (patch)
tree68b997df6edc9bc57886828b57cdd1115c3a042a /hotfix-03_fix-enable-vsync-by-default-4433.patch
parentFix the version string. (diff)
downloadcataclysm-bn-master.tar.xz
Backport:HEADmaster
-dried rice negative calories fix -vsync toggle support -Several Necropolis fixes
Diffstat (limited to 'hotfix-03_fix-enable-vsync-by-default-4433.patch')
-rw-r--r--hotfix-03_fix-enable-vsync-by-default-4433.patch26
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
+