mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
mesa: do not trigger _NEW_TEXTURE_STATE in glActiveTexture()
This looks like useless because gl_context::Texture::CurrentUnit is not used by _mesa_update_texture_state() and friends. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
c244c25ce3
commit
f314a532fd
1 changed files with 0 additions and 2 deletions
|
|
@ -307,8 +307,6 @@ active_texture(GLenum texture, bool no_error)
|
|||
}
|
||||
}
|
||||
|
||||
FLUSH_VERTICES(ctx, _NEW_TEXTURE_STATE);
|
||||
|
||||
ctx->Texture.CurrentUnit = texUnit;
|
||||
if (ctx->Transform.MatrixMode == GL_TEXTURE) {
|
||||
/* update current stack pointer */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue