[Mesa-dev] [PATCH] mesa: Preserve the NewArrays state when copying a VAO

Fredrik Höglund fredrik at kde.org
Tue Feb 11 09:26:12 PST 2014


Cc: "10.1" "10.0" <mesa-stable at lists.freedesktop.org>

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72895
---
 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 0045280..5a626f2 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1457,6 +1457,7 @@ copy_array_object(struct gl_context *ctx,
 
    /* _Enabled must be the same than on push */
    dest->_Enabled = src->_Enabled;
+   dest->NewArrays = src->NewArrays;
    dest->_MaxElement = src->_MaxElement;
 }
 
-- 
1.8.5.3



More information about the mesa-dev mailing list