Show
Ignore:
Timestamp:
01/07/09 12:24:47 (6 years ago)
Author:
robert
Message:

Fixed warnings

Files:
1 modified

Legend:

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

    r9448 r9459  
    120120int main( int argc, char **argv ) 
    121121{ 
    122     // Make a scene graph consisting of a single Geode, containing 
     122    osg::ArgumentParser arguments(&argc, argv); 
     123 
     124   // Make a scene graph consisting of a single Geode, containing 
    123125    // a single Geometry, and a single PrimitiveSet. 
    124126    osg::ref_ptr< osg::Geode > geode = new osg::Geode; 
     
    143145    // osgDB::writeNodeFile(*geode, "instanced.osg"); 
    144146 
    145     osgViewer::Viewer viewer; 
     147    osgViewer::Viewer viewer(arguments); 
    146148    viewer.setSceneData( geode.get() ); 
    147149    return viewer.run();