Added missing default values to State constructor.

This commit is contained in:
Robert Osfield 2002-07-20 22:44:21 +00:00
parent 15315b7b4b
commit 0ff08a2978

View File

@ -11,8 +11,11 @@ State::State()
{
_contextID = 0;
_identity = new osg::Matrix(); // default Matrix constructs to identity.
_modelView = _identity;
_projection = _identity;
_modelView = _identity;
_currentActiveTextureUnit=0;
_currentClientActiveTextureUnit=0;
}
State::~State()