Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed incorrect prototype for glXQueryExtensionsString()
  • Loading branch information
slouken committed Jul 9, 2003
1 parent 2d7c5ed commit dfeb8ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11gl.c
Expand Up @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11gl_c.h
Expand Up @@ -77,7 +77,7 @@ struct SDL_PrivateGLData {
( Display* dpy,
GLXDrawable drawable );

const char (*glXQueryExtensionsString)
const char *(*glXQueryExtensionsString)
( Display* dpy,
int screen);

Expand Down

0 comments on commit dfeb8ae

Please sign in to comment.