summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_array_api.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-01-08 21:55:59 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-01-08 21:55:59 +0000
commitce656b6a0a103ae9cb41d509be353f0e661e3574 (patch)
tree1f877f14838b85d7db834cb38a040a362db83d6e /src/mesa/tnl/t_array_api.c
parentbfa023921c9d1aa872237e0ac6085160f7c2cbc5 (diff)
Fixed 'IRound' to 'IROUND' in mmath.h
Fixed fallback path for drawarrays/_tnl_hard_begin. Removed disabled debug code.
Diffstat (limited to 'src/mesa/tnl/t_array_api.c')
-rw-r--r--src/mesa/tnl/t_array_api.c9
1 files changed, 4 insertions, 5 deletions
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<count;i++) {