mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
Bug #12015: Use the right offsets in the dst arguments of pixman_blt.
This commit is contained in:
parent
daee59b170
commit
32666d7722
1 changed files with 2 additions and 2 deletions
|
|
@ -64,8 +64,8 @@ fbCopyNtoN (DrawablePtr pSrcDrawable,
|
||||||
if (!pixman_blt ((uint32_t *)src, (uint32_t *)dst, srcStride, dstStride, srcBpp, dstBpp,
|
if (!pixman_blt ((uint32_t *)src, (uint32_t *)dst, srcStride, dstStride, srcBpp, dstBpp,
|
||||||
(pbox->x1 + dx + srcXoff),
|
(pbox->x1 + dx + srcXoff),
|
||||||
(pbox->y1 + dy + srcYoff),
|
(pbox->y1 + dy + srcYoff),
|
||||||
(pbox->x1 + srcXoff),
|
(pbox->x1 + dstXoff),
|
||||||
(pbox->y1 + srcYoff),
|
(pbox->y1 + dstYoff),
|
||||||
(pbox->x2 - pbox->x1),
|
(pbox->x2 - pbox->x1),
|
||||||
(pbox->y2 - pbox->y1)))
|
(pbox->y2 - pbox->y1)))
|
||||||
goto fallback;
|
goto fallback;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue