[Mesa-dev] [PATCH 1/3] mesa: When copying a VAO also copy the vertex attribute mode.

Mathias.Froehlich at gmx.net Mathias.Froehlich at gmx.net
Fri Mar 23 18:39:46 UTC 2018


From: Mathias Fröhlich <mathias.froehlich at web.de>

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>
---
 src/mesa/main/attrib.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index 9d3aa728a1..9c632ffb51 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1515,6 +1515,7 @@ copy_array_object(struct gl_context *ctx,
    dest->_Enabled = src->_Enabled;
    /* The bitmask of bound VBOs needs to match the VertexBinding array */
    dest->VertexAttribBufferMask = src->VertexAttribBufferMask;
+   dest->_AttributeMapMode = src->_AttributeMapMode;
    dest->NewArrays = src->NewArrays;
 }
 
-- 
2.14.3



More information about the mesa-dev mailing list