Show
Ignore:
Timestamp:
01/04/07 22:18:44 (7 years ago)
Author:
robert
Message:

Removed the setting of thread safe ref/unref and max number of graphics contexts
as this is now done automatically by osgViewer::Viewer

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osghangglide/osghangglide.cpp

    r5863 r5890  
    112112    arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 
    113113 
    114     osg::DisplaySettings::instance()->setMaxNumberOfGraphicsContexts(2); 
    115     osg::Referenced::setThreadSafeReferenceCounting(true); 
    116  
    117114    // construct the viewer. 
    118115    osgViewer::Viewer viewer; 
    119  
    120116 
    121117    viewer.setCameraManipulator(new GliderManipulator());