summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/state_trackers/omx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/state_trackers/omx')
-rw-r--r--lib/mesa/src/gallium/state_trackers/omx/vid_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/state_trackers/omx/vid_dec.c b/lib/mesa/src/gallium/state_trackers/omx/vid_dec.c
index 9a6efb8e2..313bc0aa8 100644
--- a/lib/mesa/src/gallium/state_trackers/omx/vid_dec.c
+++ b/lib/mesa/src/gallium/state_trackers/omx/vid_dec.c
@@ -178,7 +178,7 @@ static OMX_ERRORTYPE vid_dec_Constructor(OMX_COMPONENTTYPE *comp, OMX_STRING nam
return OMX_ErrorInsufficientResources;
screen = priv->screen->pscreen;
- priv->pipe = screen->context_create(screen, priv->screen, 0);
+ priv->pipe = screen->context_create(screen, NULL, 0);
if (!priv->pipe)
return OMX_ErrorInsufficientResources;