From 40d787ab05784bf2cc1443805d7fde56c68ba025 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Wed, 14 Sep 2016 19:16:43 -0400 Subject: [PATCH] st/vdpau: fix argument type to vlVdpOutputSurfaceDMABuf MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Ilia Mirkin Reviewed-by: Christian König --- src/gallium/include/state_tracker/vdpau_dmabuf.h | 2 +- src/gallium/state_trackers/vdpau/output.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/include/state_tracker/vdpau_dmabuf.h b/src/gallium/include/state_tracker/vdpau_dmabuf.h index 886c3445d81..f838c925f30 100644 --- a/src/gallium/include/state_tracker/vdpau_dmabuf.h +++ b/src/gallium/include/state_tracker/vdpau_dmabuf.h @@ -87,7 +87,7 @@ typedef VdpStatus VdpVideoSurfaceDMABuf( ); typedef VdpStatus VdpOutputSurfaceDMABuf( - VdpVideoSurface surface, + VdpOutputSurface surface, struct VdpSurfaceDMABufDesc * result ); diff --git a/src/gallium/state_trackers/vdpau/output.c b/src/gallium/state_trackers/vdpau/output.c index 85751ea5701..f4d62a3cc43 100644 --- a/src/gallium/state_trackers/vdpau/output.c +++ b/src/gallium/state_trackers/vdpau/output.c @@ -773,7 +773,7 @@ struct pipe_resource *vlVdpOutputSurfaceGallium(VdpOutputSurface surface) return vlsurface->surface->texture; } -VdpStatus vlVdpOutputSurfaceDMABuf(VdpVideoSurface surface, +VdpStatus vlVdpOutputSurfaceDMABuf(VdpOutputSurface surface, struct VdpSurfaceDMABufDesc *result) { vlVdpOutputSurface *vlsurface; -- 2.30.2