diff options
Diffstat (limited to 'third_party/glew/src/glew.c')
-rw-r--r-- | third_party/glew/src/glew.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/glew/src/glew.c b/third_party/glew/src/glew.c index 17d2565..fb67781 100644 --- a/third_party/glew/src/glew.c +++ b/third_party/glew/src/glew.c @@ -9557,7 +9557,7 @@ GLboolean glxewGetExtension (const char* name) /* if (glXQueryExtensionsString == NULL || glXGetCurrentDisplay == NULL) return GL_FALSE; */ /* p = (GLubyte*)glXQueryExtensionsString(glXGetCurrentDisplay(), DefaultScreen(glXGetCurrentDisplay())); */ if (__glewXGetClientString == NULL) { - __glewXGetClientString = (PFNGLXGETCLIENTSTRINGPROC) glewGetProcAddress("glXGetClientString"); + __glewXGetClientString = (PFNGLXGETCLIENTSTRINGPROC) glewGetProcAddress((const GLubyte *)"glXGetClientString"); } if (__glewXGetClientString == NULL) return GL_FALSE; if (glXGetCurrentDisplay == NULL) return GL_FALSE; @@ -9580,7 +9580,7 @@ GLenum glxewContextInit (GLXEW_CONTEXT_ARG_DEF_LIST) int major, minor; static PFNGLXQUERYVERSIONPROC __glewXQueryVersion = NULL; if (__glewXQueryVersion == NULL) { - __glewXQueryVersion = (PFNGLXQUERYVERSIONPROC) glewGetProcAddress("glXQueryVersion"); + __glewXQueryVersion = (PFNGLXQUERYVERSIONPROC) glewGetProcAddress((const GLubyte *)"glXQueryVersion"); } if (__glewXQueryVersion == NULL) return GL_FALSE; /* initialize core GLX 1.2 */ |