summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-09-27 13:08:40 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-09-27 13:08:40 +0200
commit49112ed3b168a5cca68575cd3f62d146b1da75a0 (patch)
tree8e47959c50e2312f54f3e26ce80f28b154997c26
parent7927850b85f8e2143c8cecdea7c4dbd5960cd0f9 (diff)
EXA: Remove some clearly bogus code from exaCopyNtoN.
Not sure what I was thinking when I wrote this... it would cause the box coordinates to be off for exaCopyNtoNTwoDir or fallbacks. Thanks to Tilman Sauerbeck for pointing out the problem on IRC and testing the fix.
-rw-r--r--exa/exa_accel.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/exa/exa_accel.c b/exa/exa_accel.c
index 22c7d5604..7501df7dc 100644
--- a/exa/exa_accel.c
+++ b/exa/exa_accel.c
@@ -507,14 +507,6 @@ exaCopyNtoN (DrawablePtr pSrcDrawable,
region = RECTS_TO_REGION(pScreen, nbox, rects, CT_YXBANDED);
DEALLOCATE_LOCAL(rects);
-
- if (region) {
- src_off_x -= dst_off_x;
- src_off_y -= dst_off_y;
- dst_off_x = dst_off_y = 0;
- pbox = REGION_RECTS(region);
- nbox = REGION_NUM_RECTS(region);
- }
}
}