diff options
author | Brian Paul <[email protected]> | 2018-01-30 10:11:49 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-01-30 11:02:43 -0700 |
commit | 1a9aa69ae85d7eb1baae1f2ee6af84d6fbd22de7 (patch) | |
tree | 13f5dcd0b86736252e03879757472b0589de1106 /src/mesa | |
parent | efa0993eafcc3b8e61e8331f1c1d377790d7f027 (diff) |
mesa: remove invalid assertion in _mesa_enable_vertex_array_attrib()
The meta module passes some 0-based attrib values. Should fix Piglit
regressions reported by Mark Janes.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104863
Fixes: 4ab7e03e1fc7ac ("mesa: add an assertion in
_mesa_enable_vertex_array_attrib()")
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/varray.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index b2783e24b49..bc0afa6bcf5 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -1065,7 +1065,6 @@ _mesa_enable_vertex_array_attrib(struct gl_context *ctx, struct gl_vertex_array_object *vao, gl_vert_attrib attrib) { - assert(attrib >= VERT_ATTRIB_GENERIC0); assert(attrib < ARRAY_SIZE(vao->VertexAttrib)); if (!vao->VertexAttrib[attrib].Enabled) { |