mesa: remove redundant _ae_invalidate_state() call

The FLUSH_VERTICES(ctx, _NEW_ARRAY) above this will already cause
this to be called.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Timothy Arceri 2017-06-07 13:58:34 +10:00
parent bc70bad59b
commit b57bc7473b

View file

@ -37,7 +37,6 @@
#include "light.h"
#include "mtypes.h"
#include "enums.h"
#include "api_arrayelt.h"
#include "texstate.h"
@ -126,8 +125,6 @@ client_state(struct gl_context *ctx, GLenum cap, GLboolean state)
FLUSH_VERTICES(ctx, _NEW_ARRAY);
_ae_invalidate_state(ctx, _NEW_ARRAY);
*var = state;
update_derived_primitive_restart_state(ctx);