2003-07-06 15:01:13 +00:00
|
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
|
2004-02-01 18:13:05 +00:00
|
|
|
typedef struct WGLEWContextStruct WGLEWContext;
|
|
|
|
GLEWAPI WGLEWContext* wglewDefaultContext;
|
|
|
|
|
|
|
|
#ifdef GLEW_MX
|
|
|
|
extern WGLEWContext* wglewGetContext();
|
2004-02-01 22:10:42 +00:00
|
|
|
# define WGLEW_GET_CONTEXT(x) wglewGetContext()->x
|
2004-02-01 18:13:05 +00:00
|
|
|
#else
|
2004-02-01 22:10:42 +00:00
|
|
|
# define WGLEW_GET_CONTEXT(x) wglewDefaultContext->x
|
2004-02-01 18:13:05 +00:00
|
|
|
#endif /* GLEW_MX */
|
|
|
|
|
|
|
|
GLEWAPI GLenum wglewContextInit (WGLEWContext* ctx);
|
2003-09-15 16:53:02 +00:00
|
|
|
GLEWAPI GLboolean wglewGetExtension (const GLubyte* name);
|
2003-07-06 15:01:13 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2004-02-01 18:13:05 +00:00
|
|
|
/* #undef WGLEW_GET_CONTEXT */
|
2003-07-06 15:01:13 +00:00
|
|
|
#undef GLEWAPI
|
|
|
|
|
|
|
|
#endif /* __wglew_h__ */
|