mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-29 18:07:08 +00:00
Windows glewinfo fixup - expose wglewContextInit and wglewIsSupported.
This commit is contained in:
parent
4c40805809
commit
4c009908e2
@ -195,7 +195,6 @@ 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"))
|
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_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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user