7 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
19 #define glewGetContext() (&_glewctx)
21 WGLEWContext _wglewctx;
22 #define wglewGetContext() (&_wglewctx)
23 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
24 GLXEWContext _glxewctx;
25 #define glxewGetContext() (&_glxewctx)
31 #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
37 #if defined(_WIN32) || !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
48 fprintf(
f,
"\n%s:", name);
49 for (i=0; i<62-strlen(name); i++) fprintf(
f,
" ");
50 fprintf(
f,
"%s ", def1 ?
"OK" :
"MISSING");
52 fprintf(
f,
"[%s] ", def2 ?
"OK" :
"MISSING");
54 fprintf(
f,
"[%s]\n", def3 ?
"OK" :
"MISSING");
57 for (i=0; i<strlen(name)+1; i++) fprintf(
f,
"-");
65 fprintf(
f,
" %s:", name);
66 for (i=0; i<60-strlen(name); i++) fprintf(
f,
" ");
67 fprintf(
f,
"%s\n", undefined ?
"MISSING" :
"OK");
75 static void _glewInfo_GL_VERSION_1_1 (
void)
void glewDestroyContext()
EGLImageKHR EGLint * name
static void glewPrintExt(const char *name, GLboolean def1, GLboolean def2, GLboolean def3)
static void glewInfoFunc(const char *name, GLint undefined)
GLboolean glewCreateContext(const char *display, int *visual)
GLboolean glewParseArgs(int argc, char **argv, char **display, int *visual)