Blame thirdparty/glew/glew-1.9.0/auto/src/glxew_tail.h
|
kusano |
7d535a |
/* ------------------------------------------------------------------------ */
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#ifdef GLEW_MX
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
typedef struct GLXEWContextStruct GLXEWContext;
|
|
kusano |
7d535a |
GLEWAPI GLenum GLEWAPIENTRY glxewContextInit (GLXEWContext *ctx);
|
|
kusano |
7d535a |
GLEWAPI GLboolean GLEWAPIENTRY glxewContextIsSupported (const GLXEWContext *ctx, const char *name);
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#define glxewInit() glxewContextInit(glxewGetContext())
|
|
kusano |
7d535a |
#define glxewIsSupported(x) glxewContextIsSupported(glxewGetContext(), x)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x))
|
|
kusano |
7d535a |
#define GLXEW_GET_FUN(x) x
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#else /* GLEW_MX */
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#define GLXEW_GET_VAR(x) (*(const GLboolean*)&x)
|
|
kusano |
7d535a |
#define GLXEW_GET_FUN(x) x
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported (const char *name);
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#endif /* GLEW_MX */
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
GLEWAPI GLboolean GLEWAPIENTRY glxewGetExtension (const char *name);
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#ifdef __cplusplus
|
|
kusano |
7d535a |
}
|
|
kusano |
7d535a |
#endif
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#endif /* __glxew_h__ */
|