Przeglądaj źródła

Update gfxGLDevice.cpp

Anis 10 lat temu
rodzic
commit
1a76341049
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Engine/source/gfx/gl/gfxGLDevice.cpp

+ 1 - 1
Engine/source/gfx/gl/gfxGLDevice.cpp

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