mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-03-24 09:36:47 +00:00
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@227 783a27ee-832a-0410-bc00-9f386506c6dd
25 lines
479 B
C
25 lines
479 B
C
/* ------------------------------------------------------------------------ */
|
|
|
|
#ifdef GLEW_MX
|
|
|
|
typedef struct GLXEWContextStruct GLXEWContext;
|
|
extern GLenum glxewContextInit (GLXEWContext* ctx);
|
|
|
|
#define GLXEW_GET_VAR(x) glxewGetContext()->x
|
|
#define GLXEW_GET_FUN(x) x
|
|
|
|
#else /* GLEW_MX */
|
|
|
|
#define GLXEW_GET_VAR(x) x
|
|
#define GLXEW_GET_FUN(x) x
|
|
|
|
#endif /* GLEW_MX */
|
|
|
|
extern GLboolean glxewGetExtension (const char* name);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __glxew_h__ */
|