diff --git a/src/osgUtil/Tessellator.cpp b/src/osgUtil/Tessellator.cpp index d410ce298..f8dcf586b 100644 --- a/src/osgUtil/Tessellator.cpp +++ b/src/osgUtil/Tessellator.cpp @@ -24,7 +24,9 @@ using namespace osgUtil; Tessellator::Tessellator() : _wtype(TESS_WINDING_ODD), _ttype(TESS_TYPE_POLYGONS), - _boundaryOnly(false), _numberVerts(0) + _boundaryOnly(false), + _numberVerts(0), + _extraPrimitives(0) { _tobj = gluNewTess(); if (_tobj)