use new vertex bitfield tokens
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 9 Oct 2002 19:38:32 +0000 (19:38 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 9 Oct 2002 19:38:32 +0000 (19:38 +0000)
src/mesa/tnl/t_imm_api.c

index 7aea94c3fac0e5d1ebc240073cac19d5c33406cb..9f9d4ab5d119f634c1a5114fde3474501a52b711 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: t_imm_api.c,v 1.32 2002/10/03 23:27:22 brianp Exp $ */
+/* $Id: t_imm_api.c,v 1.33 2002/10/09 19:38:32 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -94,7 +94,7 @@ void _tnl_flush_vertices( GLcontext *ctx, GLuint flags )
    if (IM->Flag[IM->Start]) {
       if ((flags & FLUSH_UPDATE_CURRENT) || 
          IM->Count > IM->Start ||
-         (IM->Flag[IM->Start] & (VERT_BEGIN|VERT_END))) {
+         (IM->Flag[IM->Start] & (VERT_BIT_BEGIN | VERT_BIT_END))) {
         _tnl_flush_immediate( ctx, IM );
       }
    }