So I thought I would try supporting shared contexts with
SimpleViewerCocoa. But the SimpleViewer API seems to discourage this
as the SimpleViewer constructor automatically increments the
contextID.
Currently, my workaround looks like this:
simpleViewer = new osgViewer::SimpleViewer;
simpleViewer->getSceneView()->getState()->setContextID(0);
osg::DisplaySettings::instance()->setMaxNumberOfGraphicsContexts(1);
Is this the best way of dealing with it?
Thanks,
Eric
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/