From: Pierre-Eric Pelloux-Prayer Date: Tue, 5 Nov 2019 17:35:01 +0000 (+0100) Subject: mesa: fix call to _mesa_lookup_vao_err X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67718ca3520b3540dfe08840e6397613c439f5db;p=mesa.git 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 --- 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;