diff options
author | Christian König <[email protected]> | 2013-04-29 17:43:04 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2013-05-01 13:33:46 +0200 |
commit | e27f87b549cf2d4cfef97958ff175862fdf494b0 (patch) | |
tree | 6d01f968ab957632f3fe94432d91d022d8c924f1 /src/gallium/state_trackers/vdpau/presentation.c | |
parent | 236ea7900ff263fdb3d01e1a904c43c600e2654d (diff) |
vl/compositor: cleanup background clearing
Add an extra parameter to specify if we should clear the render target.
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 3dd7f05375e..a5466cd378a 100644 --- a/src/gallium/state_trackers/vdpau/presentation.c +++ b/src/gallium/state_trackers/vdpau/presentation.c @@ -264,7 +264,7 @@ vlVdpPresentationQueueDisplay(VdpPresentationQueue presentation_queue, vl_compositor_clear_layers(cstate); vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL); vl_compositor_set_dst_clip(cstate, &dst_clip); - vl_compositor_render(cstate, compositor, surf_draw, dirty_area); + vl_compositor_render(cstate, compositor, surf_draw, dirty_area, true); } vl_screen_set_next_timestamp(pq->device->vscreen, earliest_presentation_time); |