2003-07-06 15:01:13 +00:00
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
|
2004-02-01 20:03:26 +00:00
|
|
|
typedef struct GLXEWContextStruct GLXEWContext;
|
|
|
|
GLEWAPI GLXEWContext* glxewDefaultContext;
|
|
|
|
|
|
|
|
#ifdef GLEW_MX
|
|
|
|
extern GLXEWContext* glxewGetContext();
|
2004-02-01 22:10:42 +00:00
|
|
|
# define GLXEW_GET_CONTEXT(x) glxewGetContext()->x
|
2004-02-01 20:03:26 +00:00
|
|
|
#else
|
2004-02-01 22:10:42 +00:00
|
|
|
# define GLXEW_GET_CONTEXT(x) glxewDefaultContext->x
|
2004-02-01 20:03:26 +00:00
|
|
|
#endif /* GLEW_MX */
|
|
|
|
|
|
|
|
extern GLenum glxewContextInit (GLXEWContext* ctx);
|
2004-02-01 22:27:31 +00:00
|
|
|
extern GLboolean glxewGetExtension (const char* name);
|
2003-07-06 15:01:13 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __glxew_h__ */
|