vSync on opengl

This commit is contained in:
Anis 2014-12-06 19:32:38 +01:00
parent 4976e253e4
commit b444cabe4d

View file

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