mesa: Add draw time validation for advanced blending modes.
[mesa.git] / src / mesa / main / attrib.c
index f859191f69c76dc4c3724170804a47b6da5e4c56..ff5f0f1f9fecb639f52c5857012a6bf0f9982320 100644 (file)
@@ -1489,6 +1489,8 @@ copy_array_object(struct gl_context *ctx,
 
    /* _Enabled must be the same than on push */
    dest->_Enabled = src->_Enabled;
+   /* The bitmask of bound VBOs needs to match the VertexBinding array */
+   dest->VertexAttribBufferMask = src->VertexAttribBufferMask;
    dest->NewArrays = src->NewArrays;
 }