summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralanh <alanh>2002-04-19 08:36:29 +0000
committeralanh <alanh>2002-04-19 08:36:29 +0000
commit7f37ce81155f449c9eaf8ec9ea5ed4c74fc13236 (patch)
treef315079e65f5fd57732110e8cb8a768227e57c94
parent891edb1460a3baa406b5d5f6621340113a0d7650 (diff)
Correct check for noop array state change
-rw-r--r--xc/extras/Mesa/src/enable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xc/extras/Mesa/src/enable.c b/xc/extras/Mesa/src/enable.c
index 08dc58f49..de93fc03f 100644
--- a/xc/extras/Mesa/src/enable.c
+++ b/xc/extras/Mesa/src/enable.c
@@ -87,7 +87,7 @@ client_state( GLcontext *ctx, GLenum cap, GLboolean state )
return;
}
- if (*var == flag)
+ if (*var == state)
return;
FLUSH_VERTICES(ctx, _NEW_ARRAY);