Commit 4c009908 authored by Nigel Stewart's avatar Nigel Stewart
Browse files

Windows glewinfo fixup - expose wglewContextInit and wglewIsSupported.

parent 4c408058
......@@ -195,7 +195,6 @@ GLboolean glewCreateContext (struct createParams* params)
int contextAttrs[20];
int i;
extern GLenum GLEWAPIENTRY wglewContextInit();
if (!wglewGetExtension("WGL_ARB_create_context_profile"))
......@@ -17,6 +17,8 @@ GLEWAPI GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext *ctx,
#define WGLEW_GET_VAR(x) (*(const GLboolean*)&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);
#endif /* GLEW_MX */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment