diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/varray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 0f7777bfe3c..db821e3d490 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -136,9 +136,9 @@ vertex_attrib_binding(struct gl_context *ctx, struct gl_array_attributes *array = &vao->VertexAttrib[attribIndex]; if (!_mesa_is_bufferobj(vao->VertexBinding[bindingIndex].BufferObj)) - vao->VertexAttribBufferMask &= ~VERT_BIT(attribIndex); + vao->VertexAttribBufferMask &= ~VERT_BIT(attribIndex); else - vao->VertexAttribBufferMask |= VERT_BIT(attribIndex); + vao->VertexAttribBufferMask |= VERT_BIT(attribIndex); if (array->BufferBindingIndex != bindingIndex) { const GLbitfield64 array_bit = VERT_BIT(attribIndex); |