diff options
author | Brian Paul <[email protected]> | 2015-10-14 09:08:50 -0600 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-10-17 19:36:46 +0200 |
commit | 8c5647db5e7ade454745caf97ac7c04f64b08c79 (patch) | |
tree | 7350ed588c01c04cf53d837c56738e9afd482142 /src | |
parent | 3c6156a4a7b647cc55cbe3a4c13d53b5ffe505e6 (diff) |
mesa: remove FLUSH_VERTICES() in _mesa_MatrixMode()
Changing the matrix mode alone has no effect on rendering and does
not need to trigger a flush or state validation.
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/matrix.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c index 2b8016a4a72..5ff5ac5bfe1 100644 --- a/src/mesa/main/matrix.c +++ b/src/mesa/main/matrix.c @@ -151,7 +151,6 @@ _mesa_MatrixMode( GLenum mode ) if (ctx->Transform.MatrixMode == mode && mode != GL_TEXTURE) return; - FLUSH_VERTICES(ctx, _NEW_TRANSFORM); switch (mode) { case GL_MODELVIEW: |