zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
wglew_tail.h
Go to the documentation of this file.
1 /* ------------------------------------------------------------------------- */
2 
3 #ifdef GLEW_MX
4 
5 typedef struct WGLEWContextStruct WGLEWContext;
7 GLEWAPI GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext *ctx, const char *name);
8 
9 #define wglewInit() wglewContextInit(wglewGetContext())
10 #define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x)
11 
12 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x))
13 #define WGLEW_GET_FUN(x) wglewGetContext()->x
14 
15 #else /* GLEW_MX */
16 
17 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&x)
18 #define WGLEW_GET_FUN(x) x
19 
21 
22 #endif /* GLEW_MX */
23 
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #undef GLEWAPI
31 
32 #endif /* __wglew_h__ */
GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported(const char *name)
unsigned int GLenum
Definition: gl2.h:23
unsigned char GLboolean
Definition: gl2.h:24
GLenum GLEWAPIENTRY wglewContextInit(WGLEW_CONTEXT_ARG_DEF_LIST)
Definition: glew_init_wgl.c:23
EGLImageKHR EGLint * name
Definition: eglext.h:284
#define GLEWAPIENTRY
Definition: glew_head.h:178
#define GLEWAPI
Definition: glew_head.h:164
GLboolean GLEWAPIENTRY wglewGetExtension(const char *name)
Definition: glew_init_wgl.c:6
EGLContext ctx
Definition: eglext.h:87