projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccbb52a
)
Revert "mesa: remove FLUSH_VERTICES() in _mesa_MatrixMode()"
author
Brian Paul
<brianp@vmware.com>
Fri, 16 Oct 2015 15:10:22 +0000
(09:10 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 16 Oct 2015 15:10:22 +0000
(09:10 -0600)
This reverts commit
0de5e0f3fb0f3671a3ecec6ab4473f9131ecd0ae
.
Michel Dänzer spotted two piglit regressions from the change. I suspect
that removing the FLUSH_VERTICES() actually exposed a bug elsewhere but
I don't have time to hunt down the root issue at this time.
src/mesa/main/matrix.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/matrix.c
b/src/mesa/main/matrix.c
index 5ff5ac5bfe13fb17ce50acb923e8b3967c86b82b..2b8016a4a7214a865ef0606b620376073d3ed7ec 100644
(file)
--- a/
src/mesa/main/matrix.c
+++ b/
src/mesa/main/matrix.c
@@
-151,6
+151,7
@@
_mesa_MatrixMode( GLenum mode )
if (ctx->Transform.MatrixMode == mode && mode != GL_TEXTURE)
return;
+ FLUSH_VERTICES(ctx, _NEW_TRANSFORM);
switch (mode) {
case GL_MODELVIEW: