mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
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 <eric@anholt.net>
This commit is contained in:
parent
67d8518a0e
commit
0de5e0f3fb
1 changed files with 0 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue