st/vdpau: fix argument type to vlVdpOutputSurfaceDMABuf
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 14 Sep 2016 23:16:43 +0000 (19:16 -0400)
committerChristian König <christian.koenig@amd.com>
Tue, 20 Sep 2016 09:13:05 +0000 (11:13 +0200)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/include/state_tracker/vdpau_dmabuf.h
src/gallium/state_trackers/vdpau/output.c

index 886c3445d81d4d2d60286bcc2d6cd752dd9a1c8c..f838c925f30105dc134902486fde37af54d4022f 100644 (file)
@@ -87,7 +87,7 @@ typedef VdpStatus VdpVideoSurfaceDMABuf(
 );
 
 typedef VdpStatus VdpOutputSurfaceDMABuf(
-   VdpVideoSurface               surface,
+   VdpOutputSurface              surface,
    struct VdpSurfaceDMABufDesc * result
 );
 
index 85751ea57014d91db004aef018d6aee8fa585081..f4d62a3cc4391a04e0a31b825ba7ca23c0e2e64a 100644 (file)
@@ -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;