torque windows integration of epoxy

This commit is contained in:
Jeff Hutchinson 2016-03-25 13:41:38 -04:00
parent b89d2a116e
commit 6e692ea9cf
5 changed files with 18 additions and 12 deletions

View file

@ -272,7 +272,7 @@ void GFXGLDevice::init( const GFXVideoMode &mode, PlatformWindow *window )
int debugFlag = 0;
#endif
if( gglHasWExtension(ARB_create_context) )
if( gglHasWExtension(hdcGL, ARB_create_context) )
{
int const create_attribs[] = {
WGL_CONTEXT_MAJOR_VERSION_ARB, OGL_MAJOR,