summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_imm_dlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_imm_dlist.c')
-rw-r--r--src/mesa/tnl/t_imm_dlist.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_imm_dlist.c b/src/mesa/tnl/t_imm_dlist.c
index cb7493c037..7cb947a72c 100644
--- a/src/mesa/tnl/t_imm_dlist.c
+++ b/src/mesa/tnl/t_imm_dlist.c
@@ -1,4 +1,4 @@
-/* $Id: t_imm_dlist.c,v 1.17 2001/05/11 08:11:31 keithw Exp $ */
+/* $Id: t_imm_dlist.c,v 1.18 2001/05/11 15:53:06 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -82,6 +82,13 @@ _tnl_compile_cassette( GLcontext *ctx, struct immediate *IM )
}
_tnl_compute_orflag( IM, IM->Start );
+
+ /* Need to clear this flag, or fixup gets confused. (The elements
+ * have been translated away by now.)
+ */
+ IM->OrFlag &= ~VERT_ELT;
+ IM->AndFlag &= ~VERT_ELT;
+
_tnl_fixup_input( ctx, IM );
/* _tnl_print_cassette( IM ); */