Mesa (master): mesa: remove redundant _ae_invalidate_state() call
Timothy Arceri
tarceri at kemper.freedesktop.org
Thu Jun 8 23:14:02 UTC 2017
Module: Mesa
Branch: master
Commit: b57bc7473bf1b14dbda0e3d27aef4260f9ee68f4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b57bc7473bf1b14dbda0e3d27aef4260f9ee68f4
Author: Timothy Arceri <tarceri at 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.pitoiset at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Marek Olšák <marek.olsak at 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);
More information about the mesa-commit
mailing list