summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-11-10 15:33:07 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-11-10 15:33:07 +0000
commit194550344f16334ff5b144058cd61954f4b3df3a (patch)
tree1bf774bc1d04bbf78b4273030ae85381d19ec955
parent3b514fe5f065495162646bae15dfdd3f614f37b6 (diff)
add missing breaks
-rw-r--r--src/mesa/tnl/t_array_api.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_array_api.c b/src/mesa/tnl/t_array_api.c
index 82af7e3f65..8123bd59ff 100644
--- a/src/mesa/tnl/t_array_api.c
+++ b/src/mesa/tnl/t_array_api.c
@@ -1,8 +1,8 @@
-/* $Id: t_array_api.c,v 1.19.2.4 2002/04/19 01:10:49 brianp Exp $ */
+/* $Id: t_array_api.c,v 1.19.2.5 2002/11/10 15:33:07 brianp Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 4.0.3
+ * Version: 4.0.5
*
* Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
*
@@ -178,10 +178,12 @@ _tnl_DrawArrays(GLenum mode, GLint start, GLsizei count)
minimum = 0;
modulo = 1;
skip = 0;
+ break;
case GL_LINES:
minimum = 1;
modulo = 2;
skip = 1;
+ break;
case GL_LINE_STRIP:
minimum = 1;
modulo = 1;