projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c244c25
)
mesa: do not trigger _NEW_TEXTURE_STATE in glActiveTexture()
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Wed, 21 Jun 2017 09:31:43 +0000
(11:31 +0200)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Fri, 23 Jun 2017 14:26:24 +0000
(16:26 +0200)
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>
src/mesa/main/texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstate.c
b/src/mesa/main/texstate.c
index 0a2883fcc69a90ea6a4a215a10baa08c3a7f9112..caad77a1cc20de2b91f2c3c977eaa8d1aaedd7ab 100644
(file)
--- a/
src/mesa/main/texstate.c
+++ b/
src/mesa/main/texstate.c
@@
-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 */