summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/matrix.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-10-16 09:10:22 -0600
committerBrian Paul <brianp@vmware.com>2015-10-16 09:10:22 -0600
commit4627e8058ec1bc02cc2b6464ff83394b2d16879e (patch)
tree5d14d9c53329d0d9f15ead3c82caa8b6fbe1a610 /src/mesa/main/matrix.c
parentccbb52ac1117aa99144785bc032dd459f24b8ba1 (diff)
downloadexternal_mesa3d-4627e8058ec1bc02cc2b6464ff83394b2d16879e.zip
external_mesa3d-4627e8058ec1bc02cc2b6464ff83394b2d16879e.tar.gz
external_mesa3d-4627e8058ec1bc02cc2b6464ff83394b2d16879e.tar.bz2
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.
Diffstat (limited to 'src/mesa/main/matrix.c')
-rw-r--r--src/mesa/main/matrix.c1
1 files changed, 1 insertions, 0 deletions
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: