glu/sgi: Initialize members of struct O_nurbssurface.
authorVinson Lee <vlee@vmware.com>
Wed, 30 Dec 2009 06:29:53 +0000 (22:29 -0800)
committerVinson Lee <vlee@vmware.com>
Wed, 30 Dec 2009 06:29:53 +0000 (22:29 -0800)
src/glu/sgi/libnurbs/internals/reader.h

index 8a8dcebb50194295d329ed0969e4917dca07a03b..3f259c777b568b40d6cb5710d29c4d0ca1f9153d 100644 (file)
@@ -106,7 +106,7 @@ struct O_nurbssurface : public PooledObj {
     int                        save;           /* 1 if in display list         */
     int                        used;           /* 1 if prev called in block    */
                        O_nurbssurface( long _type ) 
-                          { type = _type; owner = 0; next = 0; used = 0; }
+                          { bezier_patches = 0; type = _type; owner = 0; next = 0; save = 0; used = 0; }
     };
 
 struct O_surface : public PooledObj {