mirror of
https://github.com/yawut/SDL.git
synced 2026-04-16 22:05:59 -05:00
Fixed incorrect prototype for glXQueryExtensionsString()
This commit is contained in:
parent
4d7c7bd88d
commit
964525d936
|
|
@ -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…
Reference in New Issue
Block a user