From: Fredrik Höglund Date: Fri, 7 Feb 2014 19:34:08 +0000 (+0100) Subject: mesa: Preserve the NewArrays state when copying a VAO X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9afbd04d892f96e7fc6b689ca57ea5da124f7560;p=mesa.git 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 --- diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 00452804468..5a626f2f442 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; }