summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Höglund <fredrik@kde.org>2014-02-07 20:34:08 +0100
committerIan Romanick <ian.d.romanick@intel.com>2014-02-18 16:44:58 -0800
commit150b1f0aac70921ff52c7dd9b9563981976c7982 (patch)
tree740934b7f3c029c7ad083972823d0b4398a8fe60
parent50066dc544517cff09cdb11203d8d7213126ee78 (diff)
mesa: Preserve the NewArrays state when copying a VAO
Cc: "10.1" "10.0" <mesa-stable@lists.freedesktop.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72895 Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 9afbd04d892f96e7fc6b689ca57ea5da124f7560)
-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 7b7cf0ef3d1..fa19288e5d7 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;
}