From 1a76341049af898a5017c092769129db1c5cb703 Mon Sep 17 00:00:00 2001 From: Anis Date: Sat, 6 Dec 2014 20:46:27 +0100 Subject: [PATCH] Update gfxGLDevice.cpp --- Engine/source/gfx/gl/gfxGLDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/gfx/gl/gfxGLDevice.cpp b/Engine/source/gfx/gl/gfxGLDevice.cpp index cdc9ab003..0132a4a9f 100644 --- a/Engine/source/gfx/gl/gfxGLDevice.cpp +++ b/Engine/source/gfx/gl/gfxGLDevice.cpp @@ -147,7 +147,7 @@ void GFXGLDevice::initGLState() } #endif - PlatformGL::setVSync(smDisableVSync ? 0 : 2); + PlatformGL::setVSync(smDisableVSync ? 0 : 1); //OpenGL 3 need a binded VAO for render GLuint vao;