summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xvmc
diff options
context:
space:
mode:
authorChristian König <[email protected]>2013-04-29 17:43:04 +0200
committerChristian König <[email protected]>2013-05-01 13:33:46 +0200
commite27f87b549cf2d4cfef97958ff175862fdf494b0 (patch)
tree6d01f968ab957632f3fe94432d91d022d8c924f1 /src/gallium/state_trackers/xvmc
parent236ea7900ff263fdb3d01e1a904c43c600e2654d (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/xvmc')
-rw-r--r--src/gallium/state_trackers/xvmc/surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xvmc/surface.c b/src/gallium/state_trackers/xvmc/surface.c
index 99d2d7072a1..6a895aaed6b 100644
--- a/src/gallium/state_trackers/xvmc/surface.c
+++ b/src/gallium/state_trackers/xvmc/surface.c
@@ -432,7 +432,7 @@ Status XvMCPutSurface(Display *dpy, XvMCSurface *surface, Drawable drawable,
vl_compositor_set_layer_dst_area(cstate, 0, &dst_rect);
vl_compositor_set_layer_dst_area(cstate, 1, &dst_rect);
- vl_compositor_render(cstate, compositor, surf, dirty_area);
+ vl_compositor_render(cstate, compositor, surf, dirty_area, true);
pipe->flush(pipe, &surface_priv->fence, 0);