Small fix
This commit is contained in:
parent
ca72522988
commit
0938e5450d
@ -313,8 +313,11 @@ namespace gui
|
||||
|
||||
void pre_destroy() override
|
||||
{
|
||||
ImGui_ImplWin32_Shutdown();
|
||||
ImGui::DestroyContext();
|
||||
if (initialized)
|
||||
{
|
||||
ImGui_ImplWin32_Shutdown();
|
||||
ImGui::DestroyContext();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user