mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-11 06:28:09 +02:00
[g3dvl] correct subpicture stride in upload
This commit is contained in:
parent
849a0b0a82
commit
9a59f22d11
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue