Bug #12015: Use the right offsets in the dst arguments of pixman_blt.

(cherry picked from commit 32666d7722)
This commit is contained in:
Aaron Plattner 2007-08-16 14:57:18 -07:00 committed by Eric Anholt
parent 2bf6cb3074
commit 7cc53ae10a

View file

@ -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;