mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
OpenGL vsync fixes.
This commit is contained in:
parent
38bf2b8175
commit
415f4a046e
7 changed files with 47 additions and 4 deletions
|
|
@ -41,7 +41,12 @@ namespace GL
|
|||
|
||||
void gglPerformExtensionBinds(void *context)
|
||||
{
|
||||
|
||||
#ifdef TORQUE_OS_WIN
|
||||
if (!gladLoadWGL(wglGetCurrentDC()))
|
||||
{
|
||||
AssertFatal(false, "Unable to load GLAD WGL extensions. Make sure your OpenGL drivers are up to date!");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue