Fixed incorrect prototype for glXQueryExtensionsString()
authorSam Lantinga <slouken@libsdl.org>
Wed, 09 Jul 2003 15:32:21 +0000
changeset 6460f2029a70548
parent 645 5bcfbd1abac6
child 647 56dddbeb089a
Fixed incorrect prototype for glXQueryExtensionsString()
src/video/x11/SDL_x11gl.c
src/video/x11/SDL_x11gl_c.h
     1.1 --- a/src/video/x11/SDL_x11gl.c	Mon Jul 07 19:19:39 2003 +0000
     1.2 +++ b/src/video/x11/SDL_x11gl.c	Wed Jul 09 15:32:21 2003 +0000
     1.3 @@ -441,7 +441,7 @@
     1.4  	this->gl_data->glXGetConfig =
     1.5  		(int (*)(Display *, XVisualInfo *, int, int *)) dlsym(handle, "glXGetConfig");
     1.6  	this->gl_data->glXQueryExtensionsString =
     1.7 -		(const char (*)(Display *, int)) dlsym(handle, "glXQueryExtensionsString");
     1.8 +		(const char *(*)(Display *, int)) dlsym(handle, "glXQueryExtensionsString");
     1.9  	
    1.10  	/* We don't compare below for this in case we're not using Mesa. */
    1.11  	this->gl_data->glXReleaseBuffersMESA =
     2.1 --- a/src/video/x11/SDL_x11gl_c.h	Mon Jul 07 19:19:39 2003 +0000
     2.2 +++ b/src/video/x11/SDL_x11gl_c.h	Wed Jul 09 15:32:21 2003 +0000
     2.3 @@ -77,7 +77,7 @@
     2.4  	 ( Display* dpy,
     2.5  	   GLXDrawable drawable );
     2.6  
     2.7 -    const char (*glXQueryExtensionsString)
     2.8 +    const char *(*glXQueryExtensionsString)
     2.9  	    ( Display* dpy,
    2.10  	      int screen);
    2.11