From 32666d77227fcd2c066de16bf3c07366f92b0457 Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Thu, 16 Aug 2007 14:57:18 -0700 Subject: Bug #12015: Use the right offsets in the dst arguments of pixman_blt. --- fb/fbcopy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fb/fbcopy.c b/fb/fbcopy.c index 3ad01bfee..68f403f3f 100644 --- a/fb/fbcopy.c +++ b/fb/fbcopy.c @@ -64,8 +64,8 @@ fbCopyNtoN (DrawablePtr pSrcDrawable, if (!pixman_blt ((uint32_t *)src, (uint32_t *)dst, srcStride, dstStride, srcBpp, dstBpp, (pbox->x1 + dx + srcXoff), (pbox->y1 + dy + srcYoff), - (pbox->x1 + srcXoff), - (pbox->y1 + srcYoff), + (pbox->x1 + dstXoff), + (pbox->y1 + dstYoff), (pbox->x2 - pbox->x1), (pbox->y2 - pbox->y1))) goto fallback; -- cgit v1.2.3