summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/va/context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-07 14:47:13 +0200
committerMarek Olšák <[email protected]>2017-06-12 18:24:37 +0200
commite8be83f7f8f0b7846adb0b21daae58380f037d2f (patch)
tree9c6de310861d1d82d70885fd44afdd0fed94dcfc /src/gallium/state_trackers/va/context.c
parent621a7845299643d12970a53c337adfc37cdbf757 (diff)
vl,omx,va,vdpau,xvmc: don't set the priv pointer in context_create
Unused and radeonsi ignores it anyway. Acked-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/va/context.c')
-rw-r--r--src/gallium/state_trackers/va/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/state_trackers/va/context.c
index ae9154a332a..6e7a58da687 100644
--- a/src/gallium/state_trackers/va/context.c
+++ b/src/gallium/state_trackers/va/context.c
@@ -143,7 +143,7 @@ VA_DRIVER_INIT_FUNC(VADriverContextP ctx)
goto error_screen;
drv->pipe = drv->vscreen->pscreen->context_create(drv->vscreen->pscreen,
- drv->vscreen, 0);
+ NULL, 0);
if (!drv->pipe)
goto error_pipe;