Memory leak while updating terrain heightmap
Posted: Wed Jul 21, 2010 10:37 am
Hello,
i have a memory leak of about 3mb when i reload a terrain heightmap with that code:
I have tried to re-add the scene node after dropping it but it has the same result... is it my code or an irrlicht problem?
i have a memory leak of about 3mb when i reload a terrain heightmap with that code:
Code: Select all
io::IReadFile *heightmap = device->getFileSystem()->createAndOpenFile("data/heightmap.bmp");
terrain->loadHeightMap(heightmap);
heightmap->drop();