aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enable.c
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2002-04-19 08:38:23 +0000
committerAlan Hourihane <[email protected]>2002-04-19 08:38:23 +0000
commit68c48df2bf8dd57ce96db430fff1b69f40a793ce (patch)
tree35d495a0bbaa98e592a1bb45b2057fdf665ffa20 /src/mesa/main/enable.c
parent26e2fb062ad4513fe88cd7c40384c58b70d88819 (diff)
Correct check for noop array state change (Raystonn)
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r--src/mesa/main/enable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index b6402f95a24..78c200dcae4 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -1,4 +1,4 @@
-/* $Id: enable.c,v 1.60 2002/04/19 00:23:08 brianp Exp $ */
+/* $Id: enable.c,v 1.61 2002/04/19 08:38:23 alanh Exp $ */
/*
* Mesa 3-D graphics library
@@ -120,7 +120,7 @@ client_state( GLcontext *ctx, GLenum cap, GLboolean state )
return;
}
- if (*var == flag)
+ if (*var == state)
return;
FLUSH_VERTICES(ctx, _NEW_ARRAY);