From 9afbd04d892f96e7fc6b689ca57ea5da124f7560 Mon Sep 17 00:00:00 2001 From: Fredrik Höglund Date: Fri, 7 Feb 2014 20:34:08 +0100 Subject: 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 --- src/mesa/main/attrib.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa') 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; } -- cgit v1.2.3