diff options
author | Marek Olšák <[email protected]> | 2019-02-07 00:13:44 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-29 17:52:41 -0400 |
commit | 187cc07d0561311114fc4b3e1fc9951ff311735b (patch) | |
tree | 4a7357722ab8f0587080846d094b59a04a70664d /src/gallium/state_trackers/vdpau | |
parent | ea7646dc13306e96188e7a7fd76e8a926bede13d (diff) |
gallium: create multimedia contexts as compute-only if graphics is unsupported
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau')
-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 c3f156f0bb4..c5a3eeb6b30 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, NULL, 0); + dev->context = pipe_create_multimedia_context(pscreen); if (!dev->context) { ret = VDP_STATUS_RESOURCES; goto no_context; |