mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-01 14:10:09 +01:00
glamor: Fix XvPutImage when src_y != 0
We already take src_y into account when uploading the src data by
starting at the top line of the src data when uploading.
Adjust src_y accordingly when rendering.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
(cherry picked from commit 947e94a341)
This commit is contained in:
parent
ddca8e1647
commit
79985270f1
1 changed files with 1 additions and 1 deletions
|
|
@ -495,7 +495,7 @@ glamor_xv_put_image(glamor_port_private *port_priv,
|
|||
RegionCopy(&port_priv->clip, clipBoxes);
|
||||
|
||||
port_priv->src_x = src_x;
|
||||
port_priv->src_y = src_y;
|
||||
port_priv->src_y = src_y - top;
|
||||
port_priv->src_w = src_w;
|
||||
port_priv->src_h = src_h;
|
||||
port_priv->dst_w = drw_w;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue