diff options
author | Keith Whitwell <[email protected]> | 2001-05-11 08:11:31 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-05-11 08:11:31 +0000 |
commit | 6d1055c9675fb8c39d3843b550beaa168e031fc9 (patch) | |
tree | 771211fa37376c5ebaf117f4af88b5b7deca45b2 /src/mesa/tnl/t_array_api.c | |
parent | 1a3e034b122267c4e63ba994c56caead5d9d6434 (diff) |
Clean up translation of array elements, copying of elts in pure-elt
cassettes. Fixes problem with isosurf/compiled-array-elt/strips.
Diffstat (limited to 'src/mesa/tnl/t_array_api.c')
-rw-r--r-- | src/mesa/tnl/t_array_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_array_api.c b/src/mesa/tnl/t_array_api.c index c11a0ae351d..0e482de5ab3 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++; |