5 static const GLubyte* _glewErrorString[] =
8 (
const GLubyte*)
"Missing GL version",
9 (
const GLubyte*)
"GL 1.1 and up are not supported",
10 (
const GLubyte*)
"GLX 1.2 and up are not supported",
13 const int max_error =
sizeof(_glewErrorString)/
sizeof(*_glewErrorString) - 1;
14 return _glewErrorString[(
int)error > max_error ? max_error : (
int)
error];
19 static const GLubyte* _glewString[] =
22 (
const GLubyte*)
"GLEW_VERSION_STRING",
23 (
const GLubyte*)
"GLEW_VERSION_MAJOR_STRING",
24 (
const GLubyte*)
"GLEW_VERSION_MINOR_STRING",
25 (
const GLubyte*)
"GLEW_VERSION_MICRO_STRING"
27 const int max_string =
sizeof(_glewString)/
sizeof(*_glewString) - 1;
28 return _glewString[(
int)name > max_string ? 0 : (
int)
name];
39 #elif !defined(__ANDROID__) && !defined(__native_client__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))
47 if ( r != 0 )
return r;
50 #elif !defined(__ANDROID__) && !defined(__native_client__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))
GLboolean glewExperimental
GLenum GLEWAPIENTRY wglewContextInit(WGLEW_CONTEXT_ARG_DEF_LIST)
EGLImageKHR EGLint * name
static GLenum GLEWAPIENTRY glewContextInit(GLEW_CONTEXT_ARG_DEF_LIST)
GLenum glxewContextInit(GLXEW_CONTEXT_ARG_DEF_LIST)
const GLubyte *GLEWAPIENTRY glewGetErrorString(GLenum error)
GLdouble GLdouble GLdouble r
const GLubyte *GLEWAPIENTRY glewGetString(GLenum name)
GLenum GLEWAPIENTRY glewInit(void)