diff --git a/auto/src/glew_str_glx.c b/auto/src/glew_str_glx.c index 7c31405..8aafd69 100644 --- a/auto/src/glew_str_glx.c +++ b/auto/src/glew_str_glx.c @@ -7,7 +7,7 @@ #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) #if defined(GLEW_MX) -GLboolean glxewContextIsSupported (GLXEWContext* ctx, const char* name) +GLboolean glxewContextIsSupported (const GLXEWContext* ctx, const char* name) #else GLboolean glxewIsSupported (const char* name) #endif diff --git a/auto/src/glew_str_head.c b/auto/src/glew_str_head.c index 1f3ddf2..431f34c 100644 --- a/auto/src/glew_str_head.c +++ b/auto/src/glew_str_head.c @@ -1,5 +1,5 @@ #ifdef GLEW_MX -GLboolean glewContextIsSupported (GLEWContext* ctx, const char* name) +GLboolean glewContextIsSupported (const GLEWContext* ctx, const char* name) #else GLboolean glewIsSupported (const char* name) #endif diff --git a/auto/src/glew_str_wgl.c b/auto/src/glew_str_wgl.c index 2398075..6414e45 100644 --- a/auto/src/glew_str_wgl.c +++ b/auto/src/glew_str_wgl.c @@ -7,7 +7,7 @@ #if defined(_WIN32) #if defined(GLEW_MX) -GLboolean wglewContextIsSupported (WGLEWContext* ctx, const char* name) +GLboolean wglewContextIsSupported (const WGLEWContext* ctx, const char* name) #else GLboolean wglewIsSupported (const char* name) #endif diff --git a/auto/src/glew_tail.h b/auto/src/glew_tail.h index 647c4cf..89c5ffc 100644 --- a/auto/src/glew_tail.h +++ b/auto/src/glew_tail.h @@ -18,7 +18,7 @@ typedef struct GLEWContextStruct GLEWContext; GLEWAPI GLenum glewContextInit (GLEWContext* ctx); -GLEWAPI GLboolean glewContextIsSupported (GLEWContext* ctx, const char* name); +GLEWAPI GLboolean glewContextIsSupported (const GLEWContext* ctx, const char* name); #define glewInit() glewContextInit(glewGetContext()) #define glewIsSupported(x) glewContextIsSupported(glewGetContext(), x) diff --git a/auto/src/glxew_tail.h b/auto/src/glxew_tail.h index 702eb94..a635c56 100644 --- a/auto/src/glxew_tail.h +++ b/auto/src/glxew_tail.h @@ -4,7 +4,7 @@ typedef struct GLXEWContextStruct GLXEWContext; extern GLenum glxewContextInit (GLXEWContext* ctx); -extern GLboolean glxewContextIsSupported (GLXEWContext* ctx, const char* name); +extern GLboolean glxewContextIsSupported (const GLXEWContext* ctx, const char* name); #define glxewInit() glxewContextInit(glxewGetContext()) #define glxewIsSupported(x) glxewContextIsSupported(glxewGetContext(), x) diff --git a/auto/src/wglew_tail.h b/auto/src/wglew_tail.h index 7bb9bf8..d51b823 100644 --- a/auto/src/wglew_tail.h +++ b/auto/src/wglew_tail.h @@ -4,7 +4,7 @@ typedef struct WGLEWContextStruct WGLEWContext; GLEWAPI GLenum wglewContextInit (WGLEWContext* ctx); -GLEWAPI GLboolean wglewContextIsSupported (WGLEWContext* ctx, const char* name); +GLEWAPI GLboolean wglewContextIsSupported (const WGLEWContext* ctx, const char* name); #define wglewInit() wglewContextInit(wglewGetContext()) #define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x)