diff options
author | Emil Velikov <[email protected]> | 2015-11-06 23:12:13 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-11-20 10:58:45 +0000 |
commit | abbfda60d8b5ff870c75073cd408551c25c6a0b5 (patch) | |
tree | 99c50e248b13c9276c5e438479f9ac1d383b2c6a /src/gallium/state_trackers/vdpau/device.c | |
parent | 4307155127fbd682d04fd23ce4aa80e7da2cb203 (diff) |
st/vdpau: use the vl_screen dispatch
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/device.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium/state_trackers/vdpau/device.c index 8fda388b26b..c70cc6e2752 100644 --- a/src/gallium/state_trackers/vdpau/device.c +++ b/src/gallium/state_trackers/vdpau/device.c @@ -136,7 +136,7 @@ no_handle: no_resource: dev->context->destroy(dev->context); no_context: - vl_screen_destroy(dev->vscreen); + dev->vscreen->destroy(dev->vscreen); no_vscreen: FREE(dev); no_dev: @@ -227,7 +227,7 @@ vlVdpDeviceFree(vlVdpDevice *dev) vl_compositor_cleanup(&dev->compositor); pipe_sampler_view_reference(&dev->dummy_sv, NULL); dev->context->destroy(dev->context); - vl_screen_destroy(dev->vscreen); + dev->vscreen->destroy(dev->vscreen); FREE(dev); vlDestroyHTAB(); } |