Mesa (master): st/vdpau: s/surface/resource/ to fix compiler warning
Brian Paul
brianp at kemper.freedesktop.org
Mon Jan 20 15:55:05 UTC 2014
Module: Mesa
Branch: master
Commit: 33ae0c24d045e7b5e210785cb9f6a36483fec941
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=33ae0c24d045e7b5e210785cb9f6a36483fec941
Author: Brian Paul <brianp at vmware.com>
Date: Mon Jan 20 07:51:25 2014 -0800
st/vdpau: s/surface/resource/ to fix compiler warning
Reviewed-by: Christian König <christian.koenig at amd.com>
---
src/gallium/state_trackers/vdpau/output.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/vdpau/output.c b/src/gallium/state_trackers/vdpau/output.c
index 59874cb..aa7e997 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);
More information about the mesa-commit
mailing list