From 516488bb51759e581a7aa2858278e6b267c1f52f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 20 Jun 2017 02:23:56 +0200 Subject: [PATCH] mesa: don't flush vertices in glClientActiveTexture Reviewed-by: Brian Paul --- src/mesa/main/texstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2