diff --git a/auto/src/glewinfo_tail.c b/auto/src/glewinfo_tail.c index 95c7ed1..ad5f530 100644 --- a/auto/src/glewinfo_tail.c +++ b/auto/src/glewinfo_tail.c @@ -195,7 +195,6 @@ GLboolean glewCreateContext (struct createParams* params) int contextAttrs[20]; int i; - extern GLenum GLEWAPIENTRY wglewContextInit(); wglewContextInit(); if (!wglewGetExtension("WGL_ARB_create_context_profile")) diff --git a/auto/src/wglew_tail.h b/auto/src/wglew_tail.h index 9bbe945..0e38466 100644 --- a/auto/src/wglew_tail.h +++ b/auto/src/wglew_tail.h @@ -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 */