diff options
author | Christian König <[email protected]> | 2012-02-27 16:07:51 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2012-03-02 13:14:21 +0100 |
commit | b90727bb241e4a04158d34aad078cb18e478fea7 (patch) | |
tree | 6b5bc8dbe12e79d0ea54524eabc196969367ad3e /src/gallium/state_trackers/vdpau/presentation.c | |
parent | d645dc65b6c5e7d46538e98208a703f0f7a5d20b (diff) |
vl/compositor: add per vertex color suport
Used in subtitles, for example.
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/presentation.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/presentation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vdpau/presentation.c b/src/gallium/state_trackers/vdpau/presentation.c index 4d12bb3e700..55437d7c4bd 100644 --- a/src/gallium/state_trackers/vdpau/presentation.c +++ b/src/gallium/state_trackers/vdpau/presentation.c @@ -241,7 +241,7 @@ vlVdpPresentationQueueDisplay(VdpPresentationQueue presentation_queue, dst_clip.y1 = clip_height ? clip_height : surf_draw->height; vl_compositor_clear_layers(&pq->cstate); - vl_compositor_set_rgba_layer(&pq->cstate, compositor, 0, surf->sampler_view, &src_rect, NULL); + vl_compositor_set_rgba_layer(&pq->cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL); vl_compositor_set_dst_clip(&pq->cstate, &dst_clip); vl_compositor_render(&pq->cstate, compositor, surf_draw, dirty_area); |