mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 23:31:56 +00:00
const correctness fix for glewContextIsSupported, glxewContextIsSupported wglewContextIsSupported
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@634 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
1abca93f6a
commit
2642bccfca
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user