diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glu/mesa/quadric.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glu/mesa/quadric.c b/src/glu/mesa/quadric.c index 00ab45d8ade..0458e97be75 100644 --- a/src/glu/mesa/quadric.c +++ b/src/glu/mesa/quadric.c @@ -1,4 +1,4 @@ -/* $Id: quadric.c,v 1.5 2000/01/11 17:21:14 brianp Exp $ */ +/* $Id: quadric.c,v 1.6 2000/01/11 22:01:08 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -706,7 +706,7 @@ void GLAPIENTRY gluPartialDisk( GLUquadricObj *qobj, GLdouble innerRadius, } /* draw spokes */ angle = DEG_TO_RAD(startAngle); - for (slice=0; slice<slices; slice++) { + for (slice=0; slice<=slices; slice++) { radius = innerRadius; glBegin( GL_LINE_STRIP ); for (loop=0; loop<loops; loop++) { |