aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorFredrik Höglund <[email protected]>2014-02-07 20:34:08 +0100
committerFredrik Höglund <[email protected]>2014-02-12 18:22:42 +0100
commit9afbd04d892f96e7fc6b689ca57ea5da124f7560 (patch)
tree96b1e7d5231fbc33ee84c2f4e13164db13eb51c2 /src/mesa/main
parentfee0686c21c631d96d6042741267a3c218c23ffc (diff)
mesa: Preserve the NewArrays state when copying a VAO
Cc: "10.1" "10.0" <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72895 Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/attrib.c1
1 files changed, 1 insertions, 0 deletions
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;
}