Changeset 5871 for OpenSceneGraph/trunk/examples/osgcatch/osgcatch.cpp
- Timestamp:
- 01/02/07 14:02:30 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgcatch/osgcatch.cpp
r5870 r5871 1518 1518 arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 1519 1519 1520 1521 // construct the viewer.1522 osgViewer::Viewer viewer;1523 1524 1520 // todo for osgViewer 1525 1521 osg::DisplaySettings::instance()->setMaxNumberOfGraphicsContexts(2); 1526 1522 osg::Referenced::setThreadSafeReferenceCounting(true); 1523 1524 // construct the viewer. 1525 osgViewer::Viewer viewer; 1526 1527 1527 1528 1528 // register the handler to add keyboard and mosue handling.
