by mickey » Wed Feb 04, 2009 6:33 am
Hi cdleonard
I have eveything enabled but caelum and when i quit my app, there's no memory leak. whenever i add caelum to my game and shuts down, i get memory leak report.
There's actually one more issue but i was hoping this first issue was solve first. The other issue is i get a crash when deleting the caelum object if i create a 2nd clour layer:
Caelum::FlatCloudLayer* layer = gCaelumSystem->getCloudSystem ()->createLayerAtHeight (1800.f);
layer->setFadeDistances( farClip * 0.8f, farClip );
layer->setCloudCover (0.7f);
layer->_ensureGeometry();
gCaelumSystem->getCloudSystem()->addLayer(layer);
On the call to delete gCaelumSystem on my ExampleApplication destructor, my application will crash. I also tried deleting the 2nd cloud layer manually prior to delete gCaelumSystem, didn't work.
I could try somethings for you if you want, just tell me which ones so we can nail down the problem.