Windows glewinfo fixup - check for WGL_ARB_create_context

This commit is contained in:
Nigel Stewart 2015-07-24 11:52:16 +10:00
parent 4c009908e2
commit d367215cde

View File

@ -197,7 +197,8 @@ GLboolean glewCreateContext (struct createParams* params)
wglewContextInit();
if (!wglewGetExtension("WGL_ARB_create_context_profile"))
/* Intel HD 3000 has WGL_ARB_create_context, but not WGL_ARB_create_context_profile */
if (!wglewGetExtension("WGL_ARB_create_context"))
return GL_TRUE;
i = 0;