Moved the intialization variable reset to end of the init funciton to

avoid multi-thread initialization from producing different results.
This commit is contained in:
Robert Osfield
2006-02-20 16:50:47 +00:00
parent 1c83e3ecfb
commit 9473d80345

View File

@@ -39,8 +39,6 @@ bool osg::initNotifyLevel()
if (s_NotifyInit) return true;
s_NotifyInit = true;
// g_NotifyLevel
// =============
@@ -73,6 +71,8 @@ bool osg::initNotifyLevel()
}
s_NotifyInit = true;
return true;
}