Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > by-pkgid > dd259df24ce3830770d0dcda9600e8df > files > 21

mesa-6.5-17mdv2007.0.src.rpm

--- ./include/GL/glx.h.tfp_entrypoints	2006-08-10 17:46:49.000000000 +0200
+++ ./include/GL/glx.h	2006-08-10 17:51:51.000000000 +0200
@@ -411,8 +411,8 @@
 
 /* XXX need enums/tokens! */
 
-extern Bool glXBindTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
-extern Bool glXReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer);
+extern void glXBindTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
+extern void glXReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer);
 
 #endif /* GLX_EXT_texture_from_pixmap */
 
--- ./src/glx/x11/glxcmds.c.tfp_entrypoints	2006-08-10 17:46:49.000000000 +0200
+++ ./src/glx/x11/glxcmds.c	2006-08-10 17:51:26.000000000 +0200
@@ -2641,7 +2641,7 @@
 }
 /*@}*/
 
-PUBLIC Bool glXBindTexImageEXT(Display *dpy,
+PUBLIC void glXBindTexImageEXT(Display *dpy,
 			       GLXDrawable drawable,
 			       int buffer,
  			       const int *attrib_list)
@@ -2656,7 +2656,7 @@
     unsigned int i;
 
     if (gc == NULL)
-	return False;
+	return;
 
     i = 0;
     if (attrib_list) {
@@ -2666,12 +2666,12 @@
  
 #ifdef GLX_DIRECT_RENDERING
     if (gc->isDirect)
-	return False;
+	return;
 #endif
 
     opcode = __glXSetupForCommand(dpy);
     if (!opcode)
-	return False;
+	return;
 
     LockDisplay(dpy);
     GetReqExtra(GLXVendorPrivate, 12 + 8 * i,req);
@@ -2701,11 +2701,9 @@
 
     UnlockDisplay(dpy);
     SyncHandle();
-
-    return True;
 }
 
-PUBLIC Bool glXReleaseTexImageEXT(Display *dpy,
+PUBLIC void glXReleaseTexImageEXT(Display *dpy,
 				  GLXDrawable drawable,
 				  int buffer)
 {
@@ -2716,16 +2714,16 @@
     CARD8 opcode;
 
     if (gc == NULL)
-	return False;
+	return;
 
 #ifdef GLX_DIRECT_RENDERING
     if (gc->isDirect)
-	return False;
+	return;
 #endif
 
     opcode = __glXSetupForCommand(dpy);
     if (!opcode)
-	return False;
+	return;
 
     LockDisplay(dpy);
     GetReqExtra(GLXVendorPrivate, sizeof(CARD32)+sizeof(INT32),req);
@@ -2742,8 +2740,6 @@
 
     UnlockDisplay(dpy);
     SyncHandle();
-
-    return True;
 }
 
 /**