mirror of
https://github.com/libretro/snes9x.git
synced 2025-02-17 07:27:33 +00:00
win32/d3d9: Don't reset ImGui with device.
Just recreate necessary objects.
This commit is contained in:
parent
81efc82f88
commit
e49165c560
@ -558,7 +558,7 @@ bool CDirect3D::ResetDevice()
|
||||
|
||||
if (S9xImGuiRunning())
|
||||
{
|
||||
ImGui_ImplDX9_Shutdown();
|
||||
ImGui_ImplDX9_InvalidateDeviceObjects();
|
||||
}
|
||||
|
||||
//release prior to reset
|
||||
@ -612,7 +612,7 @@ bool CDirect3D::ResetDevice()
|
||||
|
||||
if (S9xImGuiRunning())
|
||||
{
|
||||
ImGui_ImplDX9_Init(pDevice);
|
||||
ImGui_ImplDX9_CreateDeviceObjects();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user