Greetings,

I was just wondering!
My co worker just found out that if your going to set up and close a set if 
windows that uses "osgViewer::GraphicsWindowEnbedded" that you better make sure 
that it has a unique context ID in it or strage things start to happen with 
textures. 

after we decared the varible Exp:

_gw = new  osgViewer::GraphicsWindowEnbedded(0,0,width,height);

we added:

_gw->getState()->setContextID(someIntNumber++);

and it fixed our problem. The thing I'm wondering is why I have to do this in 
the first place? I figured that you had this handeled in the osgViewer init 
code someware becose I've never seen anyting about this in any of the example 
code that I've seen so far! Maybe we have a bug?

... 
D Glenn

------------------------
D Glenn (a.k.a David Glenn) - Moving Heaven and Earth!

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41175#41175





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to