From: Marek Olšák Date: Tue, 20 Jun 2017 00:23:56 +0000 (+0200) Subject: mesa: don't flush vertices in glClientActiveTexture X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=516488bb51759e581a7aa2858278e6b267c1f52f;p=mesa.git mesa: don't flush vertices in glClientActiveTexture Reviewed-by: Brian Paul --- 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; }