Hi Chris,

On 14 January 2012 09:30, Chris Denham <[email protected]> wrote:
> Hi Robert,
> To answer your question about how I manage the graphics contexts.
> I just create a new one for the window handle provided by each instance of my 
> browser plugin e.g
>
> Code:
> traits->inheritedWindowData = new WindowData(hWnd);
> gc = osg::GraphicsContext::createGraphicsContext(traits);

After gc is assigned check the value of gc->getState()->getContextID()
for each of the contexts created.  In theory for multiple contexts
they should read 0,1,2,etc.

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

Reply via email to