Fixed ENALBE_ALL_CULLING spelling mistake, have changed it to ENABLE_ALL_CULLING.

This commit is contained in:
Robert Osfield
2002-01-17 22:41:34 +00:00
parent 06e0310314
commit d1b2fcd0df
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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);