summaryrefslogtreecommitdiff
path: root/src/glu/sgi/libnurbs/internals/arctess.cc
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-03-29 18:46:46 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-03-29 18:46:46 +0000
commitc3051df8e18882d9c8ffb795622af24aded555b4 (patch)
treebde7e3cccbdfc830e79fbee3544d04b610357081 /src/glu/sgi/libnurbs/internals/arctess.cc
parentdb79d2abacfc946e80ae3ca6a27953925ccf50b9 (diff)
fixes from John Shell (bug 6339)
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/arctess.cc')
-rw-r--r--src/glu/sgi/libnurbs/internals/arctess.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glu/sgi/libnurbs/internals/arctess.cc b/src/glu/sgi/libnurbs/internals/arctess.cc
index e633626de0..29e7cf4c00 100644
--- a/src/glu/sgi/libnurbs/internals/arctess.cc
+++ b/src/glu/sgi/libnurbs/internals/arctess.cc
@@ -335,7 +335,7 @@ ArcTessellator::tessellateNonlinear( Arc *arc, REAL geo_stepsize, REAL arc_steps
REAL min_u, min_v, max_u,max_v;
min_u = max_u = bezierArc->cpts[0];
min_v = max_v = bezierArc->cpts[1];
- for(i=1, j=2; i<bezierArc->order; i++, j+= bezierArc->stride)
+ for(i=1, j=bezierArc->stride; i<bezierArc->order; i++, j+= bezierArc->stride)
{
if(bezierArc->cpts[j] < min_u)
min_u = bezierArc->cpts[j];