aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2002-12-19 18:36:01 +0000
committerKeith Whitwell <[email protected]>2002-12-19 18:36:01 +0000
commit0070285b32e06a1b33b96af30bdf96d0e1ef3a84 (patch)
tree463b0a031853f5fd2d8725c8fac9a11349c612f9 /src/mesa
parent518b6f44b43c1ba6b2f054f17f9d3dcd9553b709 (diff)
Add missing break statements
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl/t_array_api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_array_api.c b/src/mesa/tnl/t_array_api.c
index b61d29d6625..14ee943c693 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.28 2002/10/24 23:57:25 brianp Exp $ */
+/* $Id: t_array_api.c,v 1.29 2002/12/19 18:36:01 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -168,10 +168,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;