glu/sgi: Initialize members of class Renderhints.
authorVinson Lee <vlee@vmware.com>
Sun, 10 Jan 2010 08:14:33 +0000 (00:14 -0800)
committerVinson Lee <vlee@vmware.com>
Sun, 10 Jan 2010 08:14:33 +0000 (00:14 -0800)
src/glu/sgi/libnurbs/internals/renderhints.cc

index a3aa62d42cf954364252d316fbef0e8a731db860..7025f74f5b605bf6758aebf78698dd98c73ee2db 100644 (file)
@@ -54,6 +54,10 @@ Renderhints::Renderhints()
     errorchecking      = N_MSG;
     subdivisions       = 6.0;
     tmp1               = 0.0;
+    displaydomain      = 0;
+    maxsubdivisions    = (int) subdivisions;
+    wiretris           = 0;
+    wirequads          = 0;
 }
 
 void