HostDisplay: Remove DestroyRenderDevice()
This commit is contained in:
1 parent
84917ec6aa
commit
6bafcea94f
13 files changed
+38
-88
No files matched your search
@@ -683,8 +683,8 @@ bool NoGUIHost::AcquireHostDisplay(RenderAPI api)
|
||||
{
|
||||
ImGuiManager::Shutdown();
|
||||
CommonHost::ReleaseHostDisplayResources();
|
||||
g_host_display->DestroyRenderDevice();
|
||||
g_host_display.reset();
|
||||
g_nogui_window->DestroyPlatformWindow();
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -718,7 +718,6 @@ void NoGUIHost::ReleaseHostDisplay()
|
||||
|
||||
CommonHost::ReleaseHostDisplayResources();
|
||||
ImGuiManager::Shutdown();
|
||||
g_host_display->DestroyRenderDevice();
|
||||
g_host_display.reset();
|
||||
g_nogui_window->ExecuteInMessageLoop([]() {
|
||||
g_nogui_window->DestroyPlatformWindow();
|
||||
|
||||
Reference in new issue
Block a user