diff options
author | Fredrik Höglund <[email protected]> | 2014-02-07 20:34:08 +0100 |
---|---|---|
committer | Carl Worth <[email protected]> | 2014-03-04 13:14:51 -0800 |
commit | ad54c842fad754803a3499fffde9b9139a906da3 (patch) | |
tree | 15a96bd4cfa24565719b3c14509785eb84eaceb2 /src/mesa/main | |
parent | a4719eff1af9e459a0714c1932f49ab4451bcdb5 (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]>
(cherry picked from commit 9afbd04d892f96e7fc6b689ca57ea5da124f7560)
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/attrib.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |