mesa: don't flush vertices in glClientActiveTexture

Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Marek Olšák 2017-06-20 02:23:56 +02:00
parent 522173aee4
commit 516488bb51

View file

@ -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;
}