mesa: fix call to _mesa_lookup_vao_err

Fixes: 3e842a0b ("mesa: rework _mesa_lookup_vao_err to allow usage from EXT_dsa")
Closes: #2055Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <>
parent 5d085ad0
......@@ -3017,7 +3017,7 @@ vertex_array_attrib_format(GLuint vaobj, GLuint attribIndex, GLint size,
* VertexArrayAttrib*Format if <vaobj> 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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment