mirror of https://github.com/snes9xgit/snes9x.git
win32: actually call function
This commit is contained in:
parent
f0f3c5502c
commit
5481bb0436
|
@ -556,7 +556,7 @@ bool CDirect3D::ResetDevice()
|
||||||
|
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
if (S9xImGuiRunning)
|
if (S9xImGuiRunning())
|
||||||
{
|
{
|
||||||
ImGui_ImplDX9_Shutdown();
|
ImGui_ImplDX9_Shutdown();
|
||||||
}
|
}
|
||||||
|
@ -610,7 +610,7 @@ bool CDirect3D::ResetDevice()
|
||||||
|
|
||||||
SetViewport();
|
SetViewport();
|
||||||
|
|
||||||
if (S9xImGuiRunning)
|
if (S9xImGuiRunning())
|
||||||
{
|
{
|
||||||
ImGui_ImplDX9_Init(pDevice);
|
ImGui_ImplDX9_Init(pDevice);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue