From 33ae0c24d045e7b5e210785cb9f6a36483fec941 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 20 Jan 2014 07:51:25 -0800 Subject: st/vdpau: s/surface/resource/ to fix compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Christian König --- src/gallium/state_trackers/vdpau/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/state_trackers/vdpau/output.c b/src/gallium/state_trackers/vdpau/output.c index 59874cb0965..aa7e997b591 100644 --- a/src/gallium/state_trackers/vdpau/output.c +++ b/src/gallium/state_trackers/vdpau/output.c @@ -117,7 +117,7 @@ vlVdpOutputSurfaceCreate(VdpDevice device, err_resource: pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); pipe_surface_reference(&vlsurface->surface, NULL); - pipe_surface_reference(&res, NULL); + pipe_resource_reference(&res, NULL); err_unlock: pipe_mutex_unlock(dev->mutex); FREE(vlsurface); -- cgit v1.2.3