glxewContextInit fixup - require GLX_ARB_create_context.

This commit is contained in:
Nigel Stewart 2015-07-24 12:16:39 +10:00
parent d367215cde
commit ba410e12e2
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ GLboolean glewCreateContext (struct createParams *params)
glxewContextInit(); glxewContextInit();
if (!glxewGetExtension("GLX_ARB_create_context_profile")) if (!glxewGetExtension("GLX_ARB_create_context"))
return GL_TRUE; return GL_TRUE;
if (glXQueryContext(dpy, oldCtx, GLX_FBCONFIG_ID, &FBConfigAttrs[1])) if (glXQueryContext(dpy, oldCtx, GLX_FBCONFIG_ID, &FBConfigAttrs[1]))