glew-cmake/auto/src/wglew_post.h

24 lines
573 B
C
Raw Normal View History

/* ------------------------------------------------------------------------- */
typedef struct WGLEWContextStruct WGLEWContext;
GLEWAPI WGLEWContext* wglewDefaultContext;
#ifdef GLEW_MX
extern WGLEWContext* wglewGetContext();
# define WGLEW_GET_CONTEXT(x) wglewGetContext()->x
#else
# define WGLEW_GET_CONTEXT(x) wglewDefaultContext->x
#endif /* GLEW_MX */
GLEWAPI GLenum wglewContextInit (WGLEWContext* ctx);
GLEWAPI GLboolean wglewGetExtension (const char* name);
#ifdef __cplusplus
}
#endif
/* #undef WGLEW_GET_CONTEXT */
#undef GLEWAPI
#endif /* __wglew_h__ */