[Mesa-dev] [PATCH] st/vdpau: s/surface/resource/ to fix compiler warning
Christian König
deathsimple at vodafone.de
Mon Jan 20 07:54:22 PST 2014
Not critical, but indeed wrong.
Reviewed-by: Christian König <christian.koenig at amd.com>
Am 20.01.2014 16:51, schrieb Brian Paul:
> ---
> 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-dev
mailing list