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/vdpau/device.c | |
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/vdpau/device.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium/state_trackers/vdpau/device.c index eae9f04ee10..c3f156f0bb4 100644 --- a/src/gallium/state_trackers/vdpau/device.c +++ b/src/gallium/state_trackers/vdpau/device.c @@ -72,7 +72,7 @@ vdp_imp_device_create_x11(Display *display, int screen, VdpDevice *device, } pscreen = dev->vscreen->pscreen; - dev->context = pscreen->context_create(pscreen, dev->vscreen, 0); + dev->context = pscreen->context_create(pscreen, NULL, 0); if (!dev->context) { ret = VDP_STATUS_RESOURCES; goto no_context; |