you have to try. I was thinking about your problem and maybe I will achieve it in a way where I create the GL objects myself - you specify the contextID to which against your are creating your object and set it for further use. Have a look at these calls:
void setGLBufferObject(unsigned int contextID, GLBufferObject* glbo) { _glBufferObjects[contextID] = glbo; } in BufferObject (header) Nick On Fri, Jul 11, 2014 at 1:46 PM, Filip Arlet <fili...@seznam.cz> wrote: > Hi, > > Thank you! But I hope it wont break any other part of OSG that cant be > shared between contexts. > > Cheers, > Filip > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=60251#60251 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org