projects
/
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 2b8016a4a7214a865ef0606b620376073d3ed7ec..5ff5ac5bfe13fb17ce50acb923e8b3967c86b82b 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: