Mesa (master): mesa: fix call to _mesa_lookup_vao_err

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 5 20:06:19 UTC 2019


Module: Mesa
Branch: master
Commit: 67718ca3520b3540dfe08840e6397613c439f5db
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67718ca3520b3540dfe08840e6397613c439f5db

Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Nov  5 18:35:01 2019 +0100

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 <kenneth at whitecape.org>

---

 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 <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)
          return;
 




More information about the mesa-commit mailing list