sna: Fix BLT composite offset
Reported-by: Jiri Slaby <jirislaby@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54868 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
2575cd0d23
commit
6c7f998f7b
|
|
@ -1990,8 +1990,8 @@ sna_blt_composite__convert(struct sna *sna,
|
|||
}
|
||||
|
||||
tmp->u.blt.src_pixmap = NULL;
|
||||
tmp->u.blt.sx = x - dst_x;
|
||||
tmp->u.blt.sy = y - dst_y;
|
||||
tmp->u.blt.sx = tmp->src.offset[0];
|
||||
tmp->u.blt.sy = tmp->src.offset[1];
|
||||
DBG(("%s: blt dst offset (%d, %d), source offset (%d, %d), with alpha fixup? %x\n",
|
||||
__FUNCTION__,
|
||||
tmp->dst.x, tmp->dst.y, tmp->u.blt.sx, tmp->u.blt.sy, alpha_fixup));
|
||||
|
|
|
|||
Loading…
Reference in New Issue