mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-22 22:55:06 +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();
|
||||
|
||||
if (!glxewGetExtension("GLX_ARB_create_context_profile"))
|
||||
if (!glxewGetExtension("GLX_ARB_create_context"))
|
||||
return GL_TRUE;
|
||||
|
||||
if (glXQueryContext(dpy, oldCtx, GLX_FBCONFIG_ID, &FBConfigAttrs[1]))
|
||||
|
Loading…
Reference in New Issue
Block a user