mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-13 15:43:34 +00:00
fixing crash issue
This commit is contained in:
@@ -109,7 +109,8 @@ namespace Scop
|
||||
ScopEngine::~ScopEngine()
|
||||
{
|
||||
RenderCore::Get().WaitDeviceIdle();
|
||||
m_main_scene->Destroy();
|
||||
p_main_scene->Destroy();
|
||||
p_main_scene.reset();
|
||||
m_window.Destroy();
|
||||
#ifdef DEBUG
|
||||
m_imgui.Destroy();
|
||||
|
||||
Reference in New Issue
Block a user