From 61b2659fabdf88466451644b2d5e1cda7c6d75d2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 17 Oct 2011 15:39:46 +0000 Subject: [PATCH] Fixed typo --- src/osgShadow/ViewDependentShadowMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgShadow/ViewDependentShadowMap.cpp b/src/osgShadow/ViewDependentShadowMap.cpp index 1b4839391..a799eb00b 100644 --- a/src/osgShadow/ViewDependentShadowMap.cpp +++ b/src/osgShadow/ViewDependentShadowMap.cpp @@ -330,7 +330,7 @@ ViewDependentShadowMap::ShadowData::ShadowData(ViewDependentShadowMap::ViewDepen _camera->setComputeNearFarMode(osg::Camera::COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES); //_camera->setComputeNearFarMode(osg::Camera::COMPUTE_NEAR_FAR_USING_PRIMITIVES); - // swtich off small feature culling as this can cull out geometry that will still be large enough once perspective correction takes effect. + // switch off small feature culling as this can cull out geometry that will still be large enough once perspective correction takes effect. _camera->setCullingMode(_camera->getCullingMode() & ~osg::CullSettings::SMALL_FEATURE_CULLING); // set viewport