Commit 2abc16fc authored by Sam Lantinga's avatar Sam Lantinga

Fixed incorrect prototype for glXQueryExtensionsString()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40647
parent c15617d0
......@@ -441,7 +441,7 @@ int X11_GL_LoadLibrary(_THIS, const char* path)
this->gl_data->glXGetConfig =
(int (*)(Display *, XVisualInfo *, int, int *)) dlsym(handle, "glXGetConfig");
this->gl_data->glXQueryExtensionsString =
(const char (*)(Display *, int)) dlsym(handle, "glXQueryExtensionsString");
(const char *(*)(Display *, int)) dlsym(handle, "glXQueryExtensionsString");
/* We don't compare below for this in case we're not using Mesa. */
this->gl_data->glXReleaseBuffersMESA =
......
......@@ -77,7 +77,7 @@ struct SDL_PrivateGLData {
( Display* dpy,
GLXDrawable drawable );
const char (*glXQueryExtensionsString)
const char *(*glXQueryExtensionsString)
( Display* dpy,
int screen);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment