Added argument parsing to viewer constructor
This commit is contained in:
@@ -84,8 +84,8 @@ typedef std::list<unsigned int> Sizes;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
osgViewer::Viewer viewer;
|
||||
osg::ArgumentParser args(&argc, argv);
|
||||
osgViewer::Viewer viewer(args);
|
||||
|
||||
// Make sure we have the minimum args...
|
||||
if(argc <= 2)
|
||||
|
||||
Reference in New Issue
Block a user