Tentative fix for a crash when playing a track the 2nd time
This commit is contained in:
parent
ef94c77a67
commit
38b9c059d1
@ -426,6 +426,8 @@ void Track::cleanup()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
} // if verbose
|
} // if verbose
|
||||||
|
|
||||||
|
irr_driver->getSceneManager()->getMeshCache()->clearUnusedMeshes();
|
||||||
} // cleanup
|
} // cleanup
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user