mirror of
https://github.com/joel16/SDL2.git
synced 2025-03-03 08:57:01 +00:00
Fixed incorrect prototype for glXQueryExtensionsString()
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40647
This commit is contained in:
parent
c15617d050
commit
2abc16fc04
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user