summaryrefslogtreecommitdiff
path: root/fb/fbcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'fb/fbcopy.c')
-rw-r--r--fb/fbcopy.c4
1 files 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;