From 8d7cf7eb7ce924acd8558a5e27bd0254e640091a Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 27 May 2016 22:15:58 +0200 Subject: [PATCH] Changed: Instead of forcing VSYNC, get initial value --- code/nel/src/3d/driver/opengl/driver_opengl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl.cpp b/code/nel/src/3d/driver/opengl/driver_opengl.cpp index a9a50226c..36fc7180b 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl.cpp @@ -676,8 +676,8 @@ bool CDriverGL::setupDisplay() } #endif - // Reset the vbl interval - setSwapVBLInterval(_Interval); + // Get initial VBL interval + _Interval = getSwapVBLInterval(); return true; }