diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2016-09-14 19:16:43 -0400 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2016-09-20 11:13:05 +0200 |
commit | 40d787ab05784bf2cc1443805d7fde56c68ba025 (patch) | |
tree | 82d30dfdc21409cafdc8ae1172dad58cc51e8bd8 | |
parent | 92ec820244710e1b13267d8e93f3a81d7114080e (diff) |
st/vdpau: fix argument type to vlVdpOutputSurfaceDMABuf
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Christian König <christian.koenig@amd.com>
-rw-r--r-- | src/gallium/include/state_tracker/vdpau_dmabuf.h | 2 | ||||
-rw-r--r-- | 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 886c3445d8..f838c925f3 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 85751ea570..f4d62a3cc4 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; |