mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
Add missing break statements
This commit is contained in:
parent
518b6f44b4
commit
0070285b32
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue