The osg submission protocol is fine. I read it long ago and I didn't
remember it mozilla tweak.
Robert Osfield wrote:
> Hi Lionel,
>
> I have changed the code to make the different options for updating
> contextID a bit clearer, and made the default to always update the
> contextID, in keeping with how osgProducer used to work as with the
> intent of your changes. For the time being I have decided to defer
> making changes to how the static buffered arrays are initialized - as
> this can probably be scooped up in a later rewrite of how graphics
> objects are managed on a per context basis.
>
> An svn update will get this change, let me know if things work fine.
> The new code looks like:
>
> #if 1
> // always update, consitent with how osgProducer used to work.
> bool updateContextID = true;
> #else
> // update if new contextID exceeds only one.
> bool updateContextID = (contextID+1) >
> osg::DisplaySettings::instance()->getMaxNumberOfGraphicsContexts();
> #endif
>
> if (updateContextID)
> {
> osg::notify(osg::INFO)<<"Updating the
> MaxNumberOfGraphicsContexts to "<<contextID+1<<std::endl;
>
> // update the the maximum number of graphics contexts,
> // to ensure that texture objects and display buffers are
> configured to the correct size.
> osg::DisplaySettings::instance()->setMaxNumberOfGraphicsContexts(
> contextID + 1 );
> }
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org