[xserver-commit] xserver/fb fbpict.c,1.24,1.25
Jaymz Julian
xserver-commit@pdx.freedesktop.org
Sat, 20 Dec 2003 18:51:55 -0800
Committed by: jaymz
Update of /cvs/xserver/xserver/fb
In directory pdx:/tmp/cvs-serv14894/fb
Modified Files:
fbpict.c
Log Message:
Fix fompositeSrcSrc_nxn()'s repeating code to reset the to the start of the
pixmap on repeat - d'oh!
Index: fbpict.c
===================================================================
RCS file: /cvs/xserver/xserver/fb/fbpict.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- fbpict.c 20 Dec 2003 15:06:11 -0000 1.24
+++ fbpict.c 21 Dec 2003 02:51:53 -0000 1.25
@@ -1346,6 +1346,8 @@
reverse,
upsidedown);
+ // reset the xSrc pointer. D'oh.
+ xSrc=0;
if(!srcRepeat)
iwidth=0;
else
@@ -1354,6 +1356,8 @@
iwidth-=wwidth;
}
}
+ // reset the ySrc pointer. D'oh.
+ ySrc=0;
if(!srcRepeat)
iheight=0;
else