summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/enable.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/enable.c')
-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);