Fix memory leak
This commit is contained in:
parent
d85c1e3ee7
commit
8ea38a6103
@ -12,6 +12,8 @@ GEVulkanSceneManager::GEVulkanSceneManager(irr::video::IVideoDriver* driver,
|
|||||||
: CSceneManager(driver, fs, cursor_control,
|
: CSceneManager(driver, fs, cursor_control,
|
||||||
new GEVulkanMeshCache(), gui_environment)
|
new GEVulkanMeshCache(), gui_environment)
|
||||||
{
|
{
|
||||||
|
// CSceneManager grabbed it
|
||||||
|
getMeshCache()->drop();
|
||||||
} // GEVulkanSceneManager
|
} // GEVulkanSceneManager
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user