summaryrefslogtreecommitdiff
path: root/hotfix-03_fix-enable-vsync-by-default-4433.patch
blob: 1122713c089d27fafad216ad7b67926e499dc957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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