summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/vdpau.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/vdpau.c')
-rw-r--r--src/mesa/main/vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/vdpau.c b/src/mesa/main/vdpau.c
index e1c3e00ba5a..fd7561c3db6 100644
--- a/src/mesa/main/vdpau.c
+++ b/src/mesa/main/vdpau.c
@@ -422,7 +422,7 @@ _mesa_VDPAUUnmapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces)
_mesa_lock_texture(ctx, tex);
- image = _mesa_select_tex_image(ctx, tex, surf->target, 0);
+ image = _mesa_select_tex_image(tex, surf->target, 0);
ctx->Driver.VDPAUUnmapSurface(ctx, surf->target, surf->access,
surf->output, tex, image,