From 6d1055c9675fb8c39d3843b550beaa168e031fc9 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 11 May 2001 08:11:31 +0000 Subject: Clean up translation of array elements, copying of elts in pure-elt cassettes. Fixes problem with isosurf/compiled-array-elt/strips. --- src/mesa/tnl/t_array_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl/t_array_api.c') diff --git a/src/mesa/tnl/t_array_api.c b/src/mesa/tnl/t_array_api.c index c11a0ae351..0e482de5ab 100644 --- a/src/mesa/tnl/t_array_api.c +++ b/src/mesa/tnl/t_array_api.c @@ -1,4 +1,4 @@ -/* $Id: t_array_api.c,v 1.13 2001/05/10 12:18:38 keithw Exp $ */ +/* $Id: t_array_api.c,v 1.14 2001/05/11 08:11:31 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -104,7 +104,7 @@ static void fallback_drawelements( GLcontext *ctx, GLenum mode, GLsizei count, GLuint start = IM->Start; GLint nr = MIN2( (GLint) (IMM_MAXDATA - start), count - j ) + start; GLuint sf = IM->Flag[start]; - IM->FlushElt |= 1; + IM->FlushElt = IM->ArrayEltFlush; for (i = start ; i < nr ; i++) { IM->Elt[i] = (GLuint) *indices++; -- cgit v1.2.3