From ad54c842fad754803a3499fffde9b9139a906da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glund?= Date: Fri, 7 Feb 2014 20:34:08 +0100 Subject: [PATCH] mesa: Preserve the NewArrays state when copying a VAO Cc: "10.1" "10.0" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72895 Reviewed-by: Brian Paul (cherry picked from commit 9afbd04d892f96e7fc6b689ca57ea5da124f7560) --- 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 c9332bd522d..aad6c11f711 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1377,6 +1377,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; }