xserver/render render.c,1.31,1.32

Daniel Stone xserver-commit at pdx.freedesktop.org
Mon Aug 2 21:25:33 PDT 2004


Committed by: daniel

Update of /cvs/xserver/xserver/render
In directory pdx:/home/daniel/x/xserver/render

Modified Files:
	render.c 
Log Message:
Fix up PanoramiXRenderAddTraps with a simple compile fix or three.

Index: render.c
===================================================================
RCS file: /cvs/xserver/xserver/render/render.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- render.c	29 Jul 2004 08:10:15 -0000	1.31
+++ render.c	3 Aug 2004 04:25:31 -0000	1.32
@@ -2621,10 +2621,10 @@
 	    if (j) memcpy (stuff + 1, extra, extra_len);
 	    stuff->picture = picture->info[j].id;
 	    
-	    if (dst->u.pict.root)
+	    if (picture->u.pict.root)
 	    {
-		stuff->x_off = x_off + panoramiXdataPtr[j].x;
-		stuff->y_off = y_off + panoramiXdataPtr[j].y;
+		stuff->xOff = x_off + panoramiXdataPtr[j].x;
+		stuff->yOff = y_off + panoramiXdataPtr[j].y;
 	    }
 	    result = (*PanoramiXSaveRenderVector[X_RenderAddTraps]) (client);
 	    if(result != Success) break;



More information about the xserver-commit mailing list