summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-20 02:23:56 +0200
committerMarek Olšák <[email protected]>2017-06-23 19:50:20 +0200
commit516488bb51759e581a7aa2858278e6b267c1f52f (patch)
tree63774260ed81b0da245dfdc0645f28c19283e46d
parent522173aee4fd496e5b20e38b109979001aa3d01b (diff)
mesa: don't flush vertices in glClientActiveTexture
Reviewed-by: Brian Paul <[email protected]>
-rw-r--r--src/mesa/main/texstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index caad77a1cc2..269e29194d6 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -349,7 +349,7 @@ _mesa_ClientActiveTexture(GLenum texture)
return;
}
- FLUSH_VERTICES(ctx, _NEW_ARRAY);
+ /* Don't flush vertices. This is a "latched" state. */
ctx->Array.ActiveTexture = texUnit;
}