mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 22:10:36 +00:00
vSync on opengl
This commit is contained in:
parent
4976e253e4
commit
b444cabe4d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue