diff options
author | Timothy Arceri <[email protected]> | 2017-06-07 13:58:34 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-06-09 09:13:46 +1000 |
commit | b57bc7473bf1b14dbda0e3d27aef4260f9ee68f4 (patch) | |
tree | 4d442022c246eac61f99d4584aaab5ee217298b2 /src/mesa/main/enable.c | |
parent | bc70bad59bde311434349bbe07b7fb1d3b0ec559 (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r-- | src/mesa/main/enable.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 0e07f4c3b9a..52c791587ef 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -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); |