diff options
author | Marek Olšák <[email protected]> | 2017-06-07 14:47:13 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-12 18:24:37 +0200 |
commit | e8be83f7f8f0b7846adb0b21daae58380f037d2f (patch) | |
tree | 9c6de310861d1d82d70885fd44afdd0fed94dcfc /src/gallium/state_trackers/xvmc | |
parent | 621a7845299643d12970a53c337adfc37cdbf757 (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/xvmc')
-rw-r--r-- | src/gallium/state_trackers/xvmc/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xvmc/context.c b/src/gallium/state_trackers/xvmc/context.c index c239b3ddd6b..1ecff5e8ac1 100644 --- a/src/gallium/state_trackers/xvmc/context.c +++ b/src/gallium/state_trackers/xvmc/context.c @@ -239,7 +239,7 @@ Status XvMCCreateContext(Display *dpy, XvPortID port, int surface_type_id, return BadAlloc; } - pipe = vscreen->pscreen->context_create(vscreen->pscreen, vscreen, 0); + pipe = vscreen->pscreen->context_create(vscreen->pscreen, NULL, 0); if (!pipe) { XVMC_MSG(XVMC_ERR, "[XvMC] Could not create VL context.\n"); vscreen->destroy(vscreen); |