diff --git a/include/osgUtil/CullViewState b/include/osgUtil/CullViewState index 949c86723..d4861a176 100644 --- a/include/osgUtil/CullViewState +++ b/include/osgUtil/CullViewState @@ -47,7 +47,7 @@ class OSGUTIL_EXPORT CullViewState : public osg::Referenced FRUSTUM_FAR_CULLING = 0x20, VIEW_FRUSTUM_CULLING = 0x3F, SMALL_FEATURE_CULLING = 0x40, - ENALBE_ALL_CULLING = 0x7F + ENABLE_ALL_CULLING = 0x7F }; typedef unsigned int CullingMode; diff --git a/src/osgUtil/CullVisitor.cpp b/src/osgUtil/CullVisitor.cpp index 5ad5ba55c..509ea7460 100644 --- a/src/osgUtil/CullVisitor.cpp +++ b/src/osgUtil/CullVisitor.cpp @@ -390,7 +390,7 @@ CullVisitor::CullVisitor() // is a least this one value on the stack, therefore they never // check whether the stack is empty. This shouldn't be a problem // unless there is bug somewhere... - _cullingModeStack.push_back(CullViewState::ENALBE_ALL_CULLING); + _cullingModeStack.push_back(CullViewState::ENABLE_ALL_CULLING); _tvs = new CullViewState; _tvs->_eyePoint.set(0.0f,0.0f,1.0f);