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.
This commit is contained in:
parent
c7d6d1f589
commit
d6f4764bf5
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue