Horde3D http://horde3d.org/forums/ |
|
Geom Resource memleak http://horde3d.org/forums/viewtopic.php?f=3&t=1658 |
Page 1 of 1 |
Author: | attila [ 26.03.2012, 13:49 ] |
Post subject: | Geom Resource memleak |
It seems like the new resource's _refCount is the same as the original's _refCount. in egGeometry.cpp Code: Resource *GeometryResource::clone()
{ GeometryResource *res = new GeometryResource( "", _flags ); *res = *this; //this copies each member (_refCount too) // I've added this to solve the problem res->_refCount = 0; |
Author: | Volker [ 28.03.2012, 17:19 ] |
Post subject: | Re: Geom Resource memleak |
should be solved, thanks |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |