diff options
author | Ilia Mirkin <[email protected]> | 2016-09-14 19:16:43 -0400 |
---|---|---|
committer | Christian König <[email protected]> | 2016-09-20 11:13:05 +0200 |
commit | 40d787ab05784bf2cc1443805d7fde56c68ba025 (patch) | |
tree | 82d30dfdc21409cafdc8ae1172dad58cc51e8bd8 /src | |
parent | 92ec820244710e1b13267d8e93f3a81d7114080e (diff) |
st/vdpau: fix argument type to vlVdpOutputSurfaceDMABuf
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src')
-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 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; |