summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enable.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-04-26 00:50:55 +0200
committerMarek Olšák <[email protected]>2013-05-11 23:45:01 +0200
commitdb38e9a0e179441f59274f6f2a751912c29872e2 (patch)
tree5e79562a55273762c314e04aaefce0d53981af91 /src/mesa/main/enable.c
parent74ca7f0974f4c5d794da263bf28b71a9d285a49a (diff)
mesa: remove unused gl_array_object::NewArray
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r--src/mesa/main/enable.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 33853e3744b..016e432d960 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -140,8 +140,6 @@ client_state(struct gl_context *ctx, GLenum cap, GLboolean state)
else
arrayObj->_Enabled &= ~flag;
- arrayObj->NewArrays |= flag;
-
if (ctx->Driver.Enable) {
ctx->Driver.Enable( ctx, cap, state );
}