Fixed incorrect prototype for glXQueryExtensionsString()
authorSam Lantinga <slouken@libsdl.org>
Wed, 09 Jul 2003 15:32:21 +0000
changeset 646 0f2029a70548
parent 645 5bcfbd1abac6
child 647 56dddbeb089a
Fixed incorrect prototype for glXQueryExtensionsString()
src/video/x11/SDL_x11gl.c
src/video/x11/SDL_x11gl_c.h
--- a/src/video/x11/SDL_x11gl.c	Mon Jul 07 19:19:39 2003 +0000
+++ b/src/video/x11/SDL_x11gl.c	Wed Jul 09 15:32:21 2003 +0000
@@ -441,7 +441,7 @@
 	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 =
--- a/src/video/x11/SDL_x11gl_c.h	Mon Jul 07 19:19:39 2003 +0000
+++ b/src/video/x11/SDL_x11gl_c.h	Wed Jul 09 15:32:21 2003 +0000
@@ -77,7 +77,7 @@
 	 ( Display* dpy,
 	   GLXDrawable drawable );
 
-    const char (*glXQueryExtensionsString)
+    const char *(*glXQueryExtensionsString)
 	    ( Display* dpy,
 	      int screen);