mirror of
https://github.com/nigels-com/glew.git
synced 2025-12-20 14:11:49 +00:00
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@227 783a27ee-832a-0410-bc00-9f386506c6dd
27 lines
517 B
C
27 lines
517 B
C
/* ------------------------------------------------------------------------- */
|
|
|
|
#ifdef GLEW_MX
|
|
|
|
typedef struct WGLEWContextStruct WGLEWContext;
|
|
GLEWAPI GLenum wglewContextInit (WGLEWContext* ctx);
|
|
|
|
#define WGLEW_GET_VAR(x) wglewGetContext()->x
|
|
#define WGLEW_GET_FUN(x) wglewGetContext()->x
|
|
|
|
#else /* GLEW_MX */
|
|
|
|
#define WGLEW_GET_VAR(x) x
|
|
#define WGLEW_GET_FUN(x) x
|
|
|
|
#endif /* GLEW_MX */
|
|
|
|
GLEWAPI GLboolean wglewGetExtension (const char* name);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#undef GLEWAPI
|
|
|
|
#endif /* __wglew_h__ */
|