summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xvmc/surface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/xvmc/surface.c')
-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 199712ba168..a4cd2aa2e12 100644
--- a/src/gallium/state_trackers/xvmc/surface.c
+++ b/src/gallium/state_trackers/xvmc/surface.c
@@ -488,7 +488,7 @@ Status XvMCGetSurfaceStatus(Display *dpy, XvMCSurface *surface, int *status)
*status = 0;
if (surface_priv->fence)
- if (!pipe->screen->fence_finish(pipe->screen, surface_priv->fence, 0))
+ if (!pipe->screen->fence_finish(pipe->screen, NULL, surface_priv->fence, 0))
*status |= XVMC_RENDERING;
return Success;