mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
OpenGL vsync fixes.
This commit is contained in:
parent
38bf2b8175
commit
415f4a046e
7 changed files with 47 additions and 4 deletions
|
|
@ -269,7 +269,7 @@ void GFXGLDevice::init( const GFXVideoMode &mode, PlatformWindow *window )
|
|||
if (!wglMakeCurrent(hdcGL, tempGLRC))
|
||||
AssertFatal(false, "Couldn't make temp GL context.");
|
||||
|
||||
if( gglHasWExtension(hdcGL, ARB_create_context) )
|
||||
if( gglHasWExtension( ARB_create_context) )
|
||||
{
|
||||
int const create_attribs[] = {
|
||||
WGL_CONTEXT_MAJOR_VERSION_ARB, OGL_MAJOR,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue