Hi,
I'm trying to remove all the nodes from the cortona engine with this code:
if ( SUCCEEDED(pCortEngine->CreateNodeFromString(tmp, &pNode))
&& SUCCEEDED(pCortEngine->get_RootNodes(&pRootNodes))
&& SUCCEEDED(pRootNodes->Add(pNode, &optional)) )
{
res=true;
}
This code deletes the nodes from the scene, but it doesn't deallocate the memory... How can I remove effectively from the memory all these nodes?
Thanks
|
|