summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-10-25 19:47:41 -0400
committerZack Rusin <[email protected]>2009-10-28 16:53:50 -0400
commit24c61c8c2e2747f73b963a7019485eb5105b853c (patch)
treebf7dfc0c2d0e7855bdc755238edfb4f8fa5f0269 /src/gallium/state_trackers
parent660acd60d00366c97fbe7caf3995a75ce935a19b (diff)
st/xorg: fix src coordinates in the video acceleration paths
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_xv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_xv.c b/src/gallium/state_trackers/xorg/xorg_xv.c
index 2a3a42bdeaf..c3d9454245b 100644
--- a/src/gallium/state_trackers/xorg/xorg_xv.c
+++ b/src/gallium/state_trackers/xorg/xorg_xv.c
@@ -484,7 +484,7 @@ display_video(ScrnInfoPtr pScrn, struct xorg_xv_port_priv *pPriv, int id,
w = box_x2 - box_x1;
h = box_y2 - box_y1;
- draw_yuv(pPriv, x, y, x, y, w, h);
+ draw_yuv(pPriv, src_x, src_y, x, y, w, h);
pbox++;
}