Hi Ross,

On Jan 3, 2008 8:34 PM, Ross Anderson <[EMAIL PROTECTED]> wrote:
> Robert,
>
> I am not manually managing them, but letting the newly minted osgViewer
> pick its own contextIDs, which are being recycled. I am using OSG 2.2.0.
>
> I should probably also mention that I am using the
> _viewer->setUpViewerAsEmbeddedInWindow(...) function to build a Graphics
> Context for my custom view. Perhaps this is causing me to miss some
> necessary code built into the "non-embedded" viewer?

Yes this might be a cause of trouble.

Could you try using standard osgViewer created GraphicsWindows but use
them in the way that you are using them in your app to see if that
works O.K.

There are many different ways to setup, use and destroy windows so
it's really difficult to guess at what usage you are using and exactly
how this will effect things.  If you can narrow things down, and even
better provide an example code that can be compiled and reproduce then
others like myself have chance at reproducing the problems and
spotting the source of the problem and how to resolve it, be it a
tweak in the example or a fix to the core.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to