diff options
author | Brian Paul <[email protected]> | 2000-01-11 22:01:08 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-01-11 22:01:08 +0000 |
commit | 2037663200190090a20ef6612f3f855149b4bad8 (patch) | |
tree | 6c4d785a26ebdff3efca4cc0dd2b7282520a3fcf /src/glu | |
parent | 5e5f462701d50591b1c1721cffa7482832dca359 (diff) |
another fix for gluPartialDisk() in GL_LINE mode
Diffstat (limited to 'src/glu')
-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++) { |