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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user