2003-07-06 15:01:13 +00:00
|
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
|
2004-02-19 04:37:07 +00:00
|
|
|
#ifdef GLEW_MX
|
|
|
|
|
2004-02-01 18:13:05 +00:00
|
|
|
typedef struct WGLEWContextStruct WGLEWContext;
|
2004-02-19 04:37:07 +00:00
|
|
|
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
|
2004-02-01 18:13:05 +00:00
|
|
|
|
|
|
|
#endif /* GLEW_MX */
|
|
|
|
|
2004-02-01 22:29:31 +00:00
|
|
|
GLEWAPI GLboolean wglewGetExtension (const char* name);
|
2003-07-06 15:01:13 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#undef GLEWAPI
|
|
|
|
|
|
|
|
#endif /* __wglew_h__ */
|