Module: Mesa
Branch: master
Commit: b57bc7473bf1b14dbda0e3d27aef4260f9ee68f4
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b57bc7473bf1b14dbda0e3d27aef4260f9ee68f4

Author: Timothy Arceri <tarc...@itsqueeze.com>
Date:   Wed Jun  7 13:58:34 2017 +1000

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.pitoi...@gmail.com>
Reviewed-by: Brian Paul <bri...@vmware.com>
Reviewed-by: Marek Olšák <marek.ol...@amd.com>

---

 src/mesa/main/enable.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 0e07f4c3b9..52c791587e 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);

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to