From c6083e1dc47057b64179079715c5eac8f6010467 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 11 May 2001 15:53:06 +0000 Subject: Clean up _tnl_Begin/begin/hard_begin. Fix some problems with draw_arrays, draw_elements. --- src/mesa/tnl/t_array_import.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/tnl/t_array_import.c') 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; -- cgit v1.2.3