2003-07-06 15:01:13 +00:00
|
|
|
/* ------------------------------------------------------------------------ */
|
|
|
|
|
2004-02-19 04:37:07 +00:00
|
|
|
#ifdef GLEW_MX
|
|
|
|
|
2004-02-01 20:03:26 +00:00
|
|
|
typedef struct GLXEWContextStruct GLXEWContext;
|
2004-02-19 04:37:07 +00:00
|
|
|
extern GLenum glxewContextInit (GLXEWContext* ctx);
|
|
|
|
|
|
|
|
#define GLXEW_GET_VAR(x) glxewGetContext()->x
|
|
|
|
#define GLXEW_GET_FUN(x) x
|
|
|
|
|
|
|
|
#else /* GLEW_MX */
|
|
|
|
|
|
|
|
#define GLXEW_GET_VAR(x) x
|
|
|
|
#define GLXEW_GET_FUN(x) x
|
2004-02-01 20:03:26 +00:00
|
|
|
|
|
|
|
#endif /* GLEW_MX */
|
|
|
|
|
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__ */
|