mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 05:45:07 +00:00
added longer alias
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@325 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
ab497ff197
commit
15fd29673a
@ -19,6 +19,7 @@ GLEWAPI GLboolean glewContextIsSupported (GLEWContext* ctx, const char* name);
|
|||||||
|
|
||||||
#define glewInit() glewContextInit(glewGetContext())
|
#define glewInit() glewContextInit(glewGetContext())
|
||||||
#define glewIsSupported(x) glewContextIsSupported(glewGetContext(), x)
|
#define glewIsSupported(x) glewContextIsSupported(glewGetContext(), x)
|
||||||
|
#define glewIsExtensionSupported(x) glewIsSupported(x)
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# define GLEW_GET_VAR(x) glewGetContext()->x
|
# define GLEW_GET_VAR(x) glewGetContext()->x
|
||||||
@ -32,6 +33,7 @@ GLEWAPI GLboolean glewContextIsSupported (GLEWContext* ctx, const char* name);
|
|||||||
|
|
||||||
GLEWAPI GLenum glewInit ();
|
GLEWAPI GLenum glewInit ();
|
||||||
GLEWAPI GLboolean glewIsSupported (const char* name);
|
GLEWAPI GLboolean glewIsSupported (const char* name);
|
||||||
|
#define glewIsExtensionSupported(x) glewIsSupported(x)
|
||||||
|
|
||||||
#define GLEW_GET_VAR(x) x
|
#define GLEW_GET_VAR(x) x
|
||||||
#define GLEW_GET_FUN(x) x
|
#define GLEW_GET_FUN(x) x
|
||||||
|
Loading…
Reference in New Issue
Block a user