mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-13 17:53:49 +00:00
e21be8b86a
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@202 783a27ee-832a-0410-bc00-9f386506c6dd
24 lines
580 B
C
24 lines
580 B
C
/* ------------------------------------------------------------------------- */
|
|
|
|
typedef struct WGLEWContextStruct WGLEWContext;
|
|
GLEWAPI WGLEWContext* wglewDefaultContext;
|
|
|
|
#ifdef GLEW_MX
|
|
extern WGLEWContext* wglewGetContext();
|
|
# define WGLEW_GET_CONTEXT(x) wglewGetContext()->##x
|
|
#else
|
|
# define WGLEW_GET_CONTEXT(x) wglewDefaultContext->##x
|
|
#endif /* GLEW_MX */
|
|
|
|
GLEWAPI GLenum wglewContextInit (WGLEWContext* ctx);
|
|
GLEWAPI GLboolean wglewGetExtension (const GLubyte* name);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/* #undef WGLEW_GET_CONTEXT */
|
|
#undef GLEWAPI
|
|
|
|
#endif /* __wglew_h__ */
|