mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-09 01:10:34 +00:00
DX9 Hook info comment
This commit is contained in:
parent
c293c1ae05
commit
e674cd96e5
@ -183,6 +183,8 @@ DX9_Hook::~DX9_Hook()
|
|||||||
|
|
||||||
if (_hooked)
|
if (_hooked)
|
||||||
{
|
{
|
||||||
|
//ImGui_ImplDX9_Shutdown(); This makes some games hang when Releasing the D3D9 device (pDevice->Release())
|
||||||
|
// maybe because D3D is already shut down when we try to free the device?
|
||||||
ImGui_ImplDX9_InvalidateDeviceObjects();
|
ImGui_ImplDX9_InvalidateDeviceObjects();
|
||||||
ImGui_ImplWin32_Shutdown();
|
ImGui_ImplWin32_Shutdown();
|
||||||
ImGui::DestroyContext();
|
ImGui::DestroyContext();
|
||||||
|
Loading…
Reference in New Issue
Block a user