summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/glu/nurbs
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/glu/nurbs')
-rw-r--r--src/jogl/classes/jogamp/opengl/glu/nurbs/Patchlist.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/opengl/glu/nurbs/Patchlist.java b/src/jogl/classes/jogamp/opengl/glu/nurbs/Patchlist.java
index 8c2922565..240c905a2 100644
--- a/src/jogl/classes/jogamp/opengl/glu/nurbs/Patchlist.java
+++ b/src/jogl/classes/jogamp/opengl/glu/nurbs/Patchlist.java
@@ -63,6 +63,7 @@ public class Patchlist {
for (Quilt q = quilts; q != null; q = q.next)
patch = new Patch(q, pta, ptb, patch);
+ pspec = new Pspec[2];
pspec[0] = new Pspec();
pspec[0].range[0] = pta[0];
pspec[0].range[1] = ptb[0];