diff options
author | Brian Paul <[email protected]> | 2014-01-20 07:51:25 -0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-01-20 07:54:42 -0800 |
commit | 33ae0c24d045e7b5e210785cb9f6a36483fec941 (patch) | |
tree | e53b9c8261581c92db067f6dbdd7c21cfbaee8e9 /src/gallium | |
parent | a1e528a0f083f08ac32e2418cb5068ef0c21ccaf (diff) |
st/vdpau: s/surface/resource/ to fix compiler warning
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/vdpau/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |