Enabled thread safe counting by default.

This commit is contained in:
Robert Osfield
2005-12-07 09:48:28 +00:00
parent 4d658ae1ea
commit 2d14519946

View File

@@ -130,6 +130,8 @@ struct CleanUpOperation : public osg::GraphicsThread::Operation
//
int main( int argc, char **argv )
{
osg::Referenced::setThreadSafeReferenceCounting(true);
// use an ArgumentParser object to manage the program arguments.
osg::ArgumentParser arguments(&argc,argv);