Skip to content
Permalink
Browse files

Fixed incorrect prototype for glXQueryExtensionsString()

  • Loading branch information
slouken committed Jul 9, 2003
1 parent 2d7c5ed commit dfeb8ae5a5e4b6bfd9e6c37dd864b5dc3bead731
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/video/x11/SDL_x11gl.c
  2. +1 −1 src/video/x11/SDL_x11gl_c.h
@@ -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);

0 comments on commit dfeb8ae

Please sign in to comment.