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