Correct check for noop array state change (Raystonn)

This commit is contained in:
Alan Hourihane
2002-04-19 08:38:23 +00:00
parent 26e2fb062a
commit 68c48df2bf
+2 -2
View File
@@ -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);