Hi,

In my application I have two osg::Images, the second one is a shallow copy of 
the first one thanks to the copy constructor.
Is it safe to delete the first image and keep only the second one, or should I 
use deep copy instead? 
My tests showed me that the data is still reachable but when looking at the 
image destructor it clearly deallocates the data.

Thanks for enlightening me,

Cheers,
Pierre-Jean

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





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

Reply via email to