mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-11 08:43:49 +00:00
glxewContextInit fixup - require GLX_ARB_create_context.
This commit is contained in:
parent
d367215cde
commit
ba410e12e2
@ -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]))
|
||||||
|
Loading…
Reference in New Issue
Block a user