summaryrefslogtreecommitdiff
path: root/src/utils/env.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-19 02:18:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-19 02:18:23 +0300
commitb7c9e3c0fd5b17c6964c81bb742c2cef1630d50e (patch)
treeee9006f53bf717d61fc96ba8238acb0662aeeacd /src/utils/env.cpp
parentae70ae002eb3b28b84ed9027a6e1d20985f6a087 (diff)
downloadmv-b7c9e3c0fd5b17c6964c81bb742c2cef1630d50e.tar.gz
mv-b7c9e3c0fd5b17c6964c81bb742c2cef1630d50e.tar.bz2
mv-b7c9e3c0fd5b17c6964c81bb742c2cef1630d50e.tar.xz
mv-b7c9e3c0fd5b17c6964c81bb742c2cef1630d50e.zip
Fix vsync setting for SDL 2 builds.
Also fix vsync setting in mode on.
Diffstat (limited to 'src/utils/env.cpp')
-rw-r--r--src/utils/env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/env.cpp b/src/utils/env.cpp
index 332a13a0b..1006806fb 100644
--- a/src/utils/env.cpp
+++ b/src/utils/env.cpp
@@ -55,7 +55,7 @@ void updateEnv()
break;
case 2:
setEnv("__GL_SYNC_TO_VBLANK", "1");
- setEnv("vblank_mode", "1");
+ setEnv("vblank_mode", "2");
break;
default:
break;