Mesa (master): Revert "mesa: remove FLUSH_VERTICES() in _mesa_MatrixMode() "
Brian Paul
brianp at kemper.freedesktop.org
Fri Oct 16 15:12:13 UTC 2015
Module: Mesa
Branch: master
Commit: 4627e8058ec1bc02cc2b6464ff83394b2d16879e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4627e8058ec1bc02cc2b6464ff83394b2d16879e
Author: Brian Paul <brianp at vmware.com>
Date: Fri Oct 16 09:10:22 2015 -0600
Revert "mesa: remove FLUSH_VERTICES() in _mesa_MatrixMode()"
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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c
index 5ff5ac5..2b8016a 100644
--- 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:
More information about the mesa-commit
mailing list