diff options
author | Christian König <[email protected]> | 2011-03-26 11:53:27 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2011-03-26 11:53:27 +0100 |
commit | 9a59f22d114e11a84c99609013ffe00f709c998b (patch) | |
tree | c882d021b997c9a8008a272b99f52978101d2e2c /src/gallium/state_trackers | |
parent | 849a0b0a821ecc59a50fe53498a6354cfd0b24a4 (diff) |
[g3dvl] correct subpicture stride in upload
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/xorg/xvmc/subpicture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xvmc/subpicture.c b/src/gallium/state_trackers/xorg/xvmc/subpicture.c index 07643b66848..f2bb845cb7a 100644 --- a/src/gallium/state_trackers/xorg/xvmc/subpicture.c +++ b/src/gallium/state_trackers/xorg/xvmc/subpicture.c @@ -346,7 +346,7 @@ Status XvMCCompositeSubpicture(Display *dpy, XvMCSubpicture *subpicture, XvImage /* TODO: Assert rects are within bounds? Or clip? */ vpipe->upload_sampler(vpipe, subpicture_priv->sampler, &dst_box, - image->data, width*3, srcx, srcy); + image->data, image->pitches[0], srcx, srcy); XVMC_MSG(XVMC_TRACE, "[XvMC] Subpicture %p composited.\n", subpicture); |