diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-08-16 14:57:18 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-08-16 14:57:32 -0700 |
commit | 32666d77227fcd2c066de16bf3c07366f92b0457 (patch) | |
tree | eda83cf5db78f657e858aae858c9527ce5d7d879 | |
parent | daee59b1703ac07c2def9e9fecc479e59b93f761 (diff) |
Bug #12015: Use the right offsets in the dst arguments of pixman_blt.
-rw-r--r-- | fb/fbcopy.c | 4 |
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; |