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) ...@@ -441,7 +441,7 @@ int X11_GL_LoadLibrary(_THIS, const char* path)
this->gl_data->glXGetConfig = this->gl_data->glXGetConfig =
(int (*)(Display *, XVisualInfo *, int, int *)) dlsym(handle, "glXGetConfig"); (int (*)(Display *, XVisualInfo *, int, int *)) dlsym(handle, "glXGetConfig");
this->gl_data->glXQueryExtensionsString = 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. */ /* We don't compare below for this in case we're not using Mesa. */
this->gl_data->glXReleaseBuffersMESA = this->gl_data->glXReleaseBuffersMESA =
......
...@@ -77,7 +77,7 @@ struct SDL_PrivateGLData { ...@@ -77,7 +77,7 @@ struct SDL_PrivateGLData {
( Display* dpy, ( Display* dpy,
GLXDrawable drawable ); GLXDrawable drawable );
const char (*glXQueryExtensionsString) const char *(*glXQueryExtensionsString)
( Display* dpy, ( Display* dpy,
int screen); 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