projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bd6723
)
mesa: invalidate draw state in glPopClientAttrib
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 1 Sep 2014 18:01:03 +0000
(20:01 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 4 Sep 2014 14:09:56 +0000
(16:09 +0200)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82538
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/attrib.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/attrib.c
b/src/mesa/main/attrib.c
index c656845dff9ca4e298b3646a0146d9260173d3f0..2e289b6f1cb2e426ae869d85ded21b1eaf55f1aa 100644
(file)
--- a/
src/mesa/main/attrib.c
+++ b/
src/mesa/main/attrib.c
@@
-1488,6
+1488,10
@@
copy_array_attrib(struct gl_context *ctx,
/* skip ArrayBufferObj */
/* skip IndexBufferObj */
+
+ /* Invalidate draw state. It will be updated during the next draw. */
+ dest->DrawMethod = DRAW_NONE;
+ dest->_DrawArrays = NULL;
}
/**