Merge pull request #1014 from Lopuska/patch-1

vSync on opengl
This commit is contained in:
Luis Anton Rebollo 2015-02-15 23:02:32 +01:00
commit 098fa19abb
3 changed files with 6 additions and 5 deletions

View file

@ -179,7 +179,7 @@ void GFXGLDevice::initGLState()
}
#endif
PlatformGL::setVSync(0);
PlatformGL::setVSync(smDisableVSync ? 0 : 1);
//OpenGL 3 need a binded VAO for render
GLuint vao;