mesa: remove redundant _ae_invalidate_state() call
[mesa.git] / src / mesa / main / enable.c
index 0e07f4c3b9a403c55078b6f0d520a11e8a605d51..52c791587ef41ed5b5ade0e2c4360c76d777d0b6 100644 (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);