[osg-users] Forcing a scene to rebind textures

Philippe Renon philippe_renon at yahoo.fr
Tue May 12 13:31:17 PDT 2015


One problem down :)

I had code similar to this:


Code:

viewer.removeView(view)
detach(view);
view = NULL;




Closing the GraphicsContext before calling detach() fixed my issues.
The GL object now get discarded at the right time.
The context used to be closed when nulling the view, which was too late.

Thanks for your help guys!

Cheers,
Philippe

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








More information about the osg-users mailing list