glu/sgi: Initialize members of struct O_nurbscurve.
authorVinson Lee <vlee@vmware.com>
Sat, 2 Jan 2010 01:19:27 +0000 (17:19 -0800)
committerVinson Lee <vlee@vmware.com>
Sat, 2 Jan 2010 01:19:27 +0000 (17:19 -0800)
src/glu/sgi/libnurbs/internals/reader.h

index e5ec1827dbf0ce2a078b01fc54d57a69dab34b04..faa26101cf327effb3b38679fb8a25c3ed36738d 100644 (file)
@@ -77,7 +77,7 @@ struct O_nurbscurve : public PooledObj {
     int                        save;           /* 1 if in display list         */
     O_curve *          owner;          /* owning curve                 */
                        O_nurbscurve( long _type ) 
-                          { type = _type; owner = 0; next = 0; used = 0; }
+                          { bezier_curves = 0; type = _type; tesselation = 0; method = 0; next = 0; used = 0; save = 0; owner = 0; }
     };
  
 class O_pwlcurve : public PooledObj {