mesa: Compute effective buffer bindings in the vao.
[mesa.git] / src / mesa / main / attrib.c
index 6127a556d73e164307811db168a76fab13b905e0..e565750a8915e95b958787c2b8f8f28e1e328a40 100644 (file)
@@ -1552,6 +1552,7 @@ copy_array_object(struct gl_context *ctx,
 
    /* _Enabled must be the same than on push */
    dest->_Enabled = src->_Enabled;
+   dest->_EffEnabledVBO = src->_EffEnabledVBO;
    /* The bitmask of bound VBOs needs to match the VertexBinding array */
    dest->VertexAttribBufferMask = src->VertexAttribBufferMask;
    dest->_AttributeMapMode = src->_AttributeMapMode;