Mesa (10.1): mesa: Preserve the NewArrays state when copying a VAO

Ian Romanick idr at kemper.freedesktop.org
Wed Feb 19 19:06:24 UTC 2014


Module: Mesa
Branch: 10.1
Commit: 150b1f0aac70921ff52c7dd9b9563981976c7982
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=150b1f0aac70921ff52c7dd9b9563981976c7982

Author: Fredrik Höglund <fredrik at kde.org>
Date:   Fri Feb  7 20:34:08 2014 +0100

mesa: Preserve the NewArrays state when copying a VAO

Cc: "10.1" "10.0" <mesa-stable at lists.freedesktop.org>

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72895
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 9afbd04d892f96e7fc6b689ca57ea5da124f7560)

---

 src/mesa/main/attrib.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index 7b7cf0e..fa19288 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;
 }
 




More information about the mesa-commit mailing list