mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 07:10:15 +01:00
another fix for gluPartialDisk() in GL_LINE mode
This commit is contained in:
parent
5e5f462701
commit
2037663200
1 changed files with 2 additions and 2 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue