Fix issues with de/re-initialisation
This commit is contained in:
@@ -60,8 +60,10 @@ namespace openVulkanoCpp
|
||||
{
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
|
||||
#ifndef __APPLE__
|
||||
ImGui::DestroyPlatformWindows();
|
||||
|
||||
#endif
|
||||
|
||||
io.BackendPlatformName = nullptr;
|
||||
io.BackendPlatformUserData = nullptr;
|
||||
io.BackendFlags = ImGuiBackendFlags_None;
|
||||
|
||||
Reference in New Issue
Block a user