Change: [Win32] Disable VSync for OpenGL by default.

This commit is contained in:
Michael Lutz
2021-01-16 16:43:18 +01:00
parent 9a069faa01
commit b181859629
2 changed files with 13 additions and 0 deletions

View File

@@ -143,6 +143,7 @@ public:
protected:
HDC dc; ///< Window device context.
HGLRC gl_rc; ///< OpenGL context.
bool vsync; ///< Enable VSync?
uint8 GetFullscreenBpp() override { return 32; } // OpenGL is always 32 bpp.