mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-30 02:17:07 +00:00
Generate Sources of origin/master updated at Fri Jul 24 17:44:40 GMT 2015
This commit is contained in:
parent
bdb7d8bdfc
commit
7574ab4d00
@ -1437,6 +1437,8 @@ GLEWAPI GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext *ctx,
|
|||||||
#define WGLEW_GET_VAR(x) (*(const GLboolean*)&x)
|
#define WGLEW_GET_VAR(x) (*(const GLboolean*)&x)
|
||||||
#define WGLEW_GET_FUN(x) x
|
#define WGLEW_GET_FUN(x) x
|
||||||
|
|
||||||
|
GLEWAPI GLenum GLEWAPIENTRY wglewContextInit ();
|
||||||
|
GLEWAPI GLboolean GLEWAPIENTRY wglewContextIsSupported (const char *name);
|
||||||
GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported (const char *name);
|
GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported (const char *name);
|
||||||
|
|
||||||
#endif /* GLEW_MX */
|
#endif /* GLEW_MX */
|
||||||
|
@ -11555,10 +11555,10 @@ GLboolean glewCreateContext (struct createParams* params)
|
|||||||
int contextAttrs[20];
|
int contextAttrs[20];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
extern GLenum GLEWAPIENTRY wglewContextInit();
|
|
||||||
wglewContextInit();
|
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;
|
return GL_TRUE;
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
@ -11730,7 +11730,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