From 67718ca3520b3540dfe08840e6397613c439f5db Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Tue, 5 Nov 2019 18:35:01 +0100 Subject: [PATCH] mesa: fix call to _mesa_lookup_vao_err Fixes: 3e842a0b0ea ("mesa: rework _mesa_lookup_vao_err to allow usage from EXT_dsa") Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2055 Reviewed-by: Kenneth Graunke --- src/mesa/main/varray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index ded559394dc..17d5288b6f2 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -3017,7 +3017,7 @@ vertex_array_attrib_format(GLuint vaobj, GLuint attribIndex, GLint size, * VertexArrayAttrib*Format if is not [compatibility profile: * zero or] the name of an existing vertex array object." */ - vao = _mesa_lookup_vao_err(ctx, false, vaobj, func); + vao = _mesa_lookup_vao_err(ctx, vaobj, false, func); if (!vao) return; -- 2.30.2