diff --git a/src/osgShadow/OccluderGeometry.cpp b/src/osgShadow/OccluderGeometry.cpp index f6065fb8e..9ac313d7b 100644 --- a/src/osgShadow/OccluderGeometry.cpp +++ b/src/osgShadow/OccluderGeometry.cpp @@ -271,7 +271,7 @@ struct TriangleCollector }; typedef osg::TriangleFunctor TriangleCollectorFunctor; -void OccluderGeometry::processGeometry(osg::Drawable* drawable, osg::Matrix* matrix, float sampleRatio) +void OccluderGeometry::processGeometry(osg::Drawable* drawable, osg::Matrix* matrix, float /*sampleRatio*/) { // osg::notify(osg::NOTICE)<<"computeOccluderGeometry(osg::Node* subgraph, float sampleRatio)"<tick(); + // osg::Timer_t t0 = osg::Timer::instance()->tick(); ShadowVolumeGeometry::Vec3List& shadowVertices = svg.getVertices(); shadowVertices.clear(); @@ -881,7 +881,7 @@ void OccluderGeometry::computeShadowVolumeGeometry(const osg::Vec4& lightpos, Sh svg.dirtyDisplayList(); svg.dirtyBound(); - osg::Timer_t t1 = osg::Timer::instance()->tick(); + // osg::Timer_t t1 = osg::Timer::instance()->tick(); // osg::notify(osg::NOTICE)<<"computeShadowVolumeGeometry "<delta_m(t0,t1)<<" ms"<