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

Fredrik Höglund fredrik at kemper.freedesktop.org
Wed Feb 12 17:34:04 UTC 2014


Module: Mesa
Branch: master
Commit: 9afbd04d892f96e7fc6b689ca57ea5da124f7560
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9afbd04d892f96e7fc6b689ca57ea5da124f7560

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>

---

 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 0045280..5a626f2 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