Added missing default values to State constructor.
This commit is contained in:
parent
15315b7b4b
commit
0ff08a2978
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user