From c23b922eecefd6cd6421139cf7ec2b59eb87d748 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Jun 2014 19:26:46 +0300 Subject: Disable vsync in all tests. --- src/client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/client.cpp b/src/client.cpp index af30e20b3..36dd0536c 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -509,7 +509,8 @@ void Client::updateEnv() setEnv("SDL_VIDEO_ALLOW_SCREENSAVER", "0"); #ifndef WIN32 - const int vsync = config.getIntValue("vsync"); + const int vsync = settings.options.test.empty() + ? config.getIntValue("vsync") : 1; // __GL_SYNC_TO_VBLANK is nvidia variable. // vblank_mode is MESA variable. switch (vsync) -- cgit v1.2.3-70-g09d2