From d6f4764bf5f3a601a0034ded039857e8ea5563b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 27 Sep 2007 13:08:40 +0200 Subject: [PATCH] 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. --- exa/exa_accel.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/exa/exa_accel.c b/exa/exa_accel.c index 90595d4be..76dbc7271 100644 --- a/exa/exa_accel.c +++ b/exa/exa_accel.c @@ -508,14 +508,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); - } } }