glew/auto/src/wglew_post.h
ikits e21be8b86a added glew mx
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@202 783a27ee-832a-0410-bc00-9f386506c6dd
2004-02-01 18:13:05 +00:00

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__ */