From 2165266ff469525d9576e564dd052db31864eb27 Mon Sep 17 00:00:00 2001 From: Anis Date: Sat, 6 Dec 2014 20:44:47 +0100 Subject: [PATCH] revert vsync on reset changes --- Engine/source/gfx/gl/gfxGLWindowTarget.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Engine/source/gfx/gl/gfxGLWindowTarget.cpp b/Engine/source/gfx/gl/gfxGLWindowTarget.cpp index b92f695a7..c02ff1bc3 100644 --- a/Engine/source/gfx/gl/gfxGLWindowTarget.cpp +++ b/Engine/source/gfx/gl/gfxGLWindowTarget.cpp @@ -44,8 +44,6 @@ GFXGLWindowTarget::GFXGLWindowTarget(PlatformWindow *win, GFXDevice *d) void GFXGLWindowTarget::resetMode() { - PlatformGL::setVSync(GFXDevice::smDisableVSync ? 0 : 2); - if(mWindow->getVideoMode().fullScreen != mWindow->isFullscreen()) { _teardownCurrentMode();