2009-08-04 21:52:16 +02:00
|
|
|
Index: hw/xfree86/xaa/xaaImage.c
|
2012-04-20 11:32:05 +02:00
|
|
|
===================================================================
|
|
|
|
--- hw/xfree86/xaa/xaaImage.c.orig
|
2009-08-04 21:52:16 +02:00
|
|
|
+++ hw/xfree86/xaa/xaaImage.c
|
2012-04-20 11:32:05 +02:00
|
|
|
@@ -240,6 +240,7 @@ XAAWritePixmap(ScrnInfoPtr pScrn, int x,
|
|
|
|
(*infoRec->SetupForImageWrite) (pScrn, rop, planemask, trans, bpp, depth);
|
|
|
|
(*infoRec->SubsequentImageWriteRect) (pScrn, x, y, w, h, skipleft);
|
2006-12-18 15:48:26 +01:00
|
|
|
|
|
|
|
+#if 0
|
2012-04-20 11:32:05 +02:00
|
|
|
if (beCareful) {
|
|
|
|
/* in cases with bad alignment we have to be careful not
|
|
|
|
to read beyond the end of the source */
|
|
|
|
@@ -248,6 +249,9 @@ XAAWritePixmap(ScrnInfoPtr pScrn, int x,
|
|
|
|
else
|
|
|
|
beCareful = FALSE;
|
2006-12-18 15:48:26 +01:00
|
|
|
}
|
|
|
|
+#endif
|
|
|
|
+ if (beCareful)
|
2012-04-20 11:32:05 +02:00
|
|
|
+ h--;
|
2006-12-18 15:48:26 +01:00
|
|
|
|
2012-04-20 11:32:05 +02:00
|
|
|
if (dwords > infoRec->ImageWriteRange) {
|
|
|
|
while (h--) {
|