changeset 646:0f2029a70548

Fixed incorrect prototype for glXQueryExtensionsString()
author Sam Lantinga <slouken@libsdl.org>
date Wed, 09 Jul 2003 15:32:21 +0000
parents 5bcfbd1abac6
children 56dddbeb089a
files src/video/x11/SDL_x11gl.c src/video/x11/SDL_x11gl_c.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);