From ce656b6a0a103ae9cb41d509be353f0e661e3574 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 8 Jan 2001 21:55:59 +0000 Subject: Fixed 'IRound' to 'IROUND' in mmath.h Fixed fallback path for drawarrays/_tnl_hard_begin. Removed disabled debug code. --- src/mesa/tnl/t_array_api.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 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 83d10337be..587f1b43d7 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.1 2000/12/26 05:09:32 keithw Exp $ */ +/* $Id: t_array_api.c,v 1.2 2001/01/08 21:56:00 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -101,9 +101,9 @@ _tnl_DrawArrays(GLenum mode, GLint start, GLsizei count) * because the array range is too large to process in a single * VB. In GL_EXECUTE mode, this introduces two redundant * operations: producing the flag array and computing the orflag - * of the flag array. + * of the flag array. */ -#if 0 +#if 1 if (_tnl_hard_begin( ctx, mode )) { GLuint j; for (j = 0 ; j < count ; ) { @@ -127,8 +127,7 @@ _tnl_DrawArrays(GLenum mode, GLint start, GLsizei count) #else /* Simple alternative to above code. */ -/* if (_tnl_hard_begin( ctx, mode )) */ - _tnl_begin(ctx,mode); + if (_tnl_hard_begin( ctx, mode )) { GLuint i; for (i=start;i