summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_array_import.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-05-11 15:53:06 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-05-11 15:53:06 +0000
commitc6083e1dc47057b64179079715c5eac8f6010467 (patch)
tree490b5d2c87c5f98b447ae1d387c6fcaf78638970 /src/mesa/tnl/t_array_import.c
parentb8f9980999cb3619b3b60c089e6fa3b780a52292 (diff)
Clean up _tnl_Begin/begin/hard_begin.
Fix some problems with draw_arrays, draw_elements.
Diffstat (limited to 'src/mesa/tnl/t_array_import.c')
-rw-r--r--src/mesa/tnl/t_array_import.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_array_import.c b/src/mesa/tnl/t_array_import.c
index 5194758041..77fa8a4b97 100644
--- a/src/mesa/tnl/t_array_import.c
+++ b/src/mesa/tnl/t_array_import.c
@@ -1,4 +1,4 @@
-/* $Id: t_array_import.c,v 1.15 2001/05/11 08:11:31 keithw Exp $ */
+/* $Id: t_array_import.c,v 1.16 2001/05/11 15:53:06 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -492,6 +492,7 @@ void _tnl_fill_immediate_drawarrays( GLcontext *ctx, struct immediate *IM,
}
IM->Count = IM->Start + n;
+ IM->Flag[IM->Start] &= IM->ArrayEltFlags;
IM->Flag[IM->Start] |= required;
for (i = IM->Start+1 ; i < IM->Count ; i++)
IM->Flag[i] = required;