projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67d8518
)
mesa: remove FLUSH_VERTICES() in _mesa_MatrixMode()
author
Brian Paul
<brianp@vmware.com>
Wed, 14 Oct 2015 15:08:50 +0000
(09:08 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 15 Oct 2015 13:21:07 +0000
(07:21 -0600)
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 <eric@anholt.net>
src/mesa/main/matrix.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/matrix.c
b/src/mesa/main/matrix.c
index
2b8016a
..
5ff5ac5
100644
(file)
--- 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: