mirror of
https://github.com/ocornut/imgui.git
synced 2025-02-17 19:09:27 +01:00
Examples: DirectX12: Fixed shutdown issue. (#301)
This commit is contained in:
parent
9be7d048c8
commit
7e24ce0956
@ -407,9 +407,9 @@ int main(int, char**)
|
|||||||
frameCtxt->FenceValue = fenceValue;
|
frameCtxt->FenceValue = fenceValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WaitForLastSubmittedFrame();
|
||||||
ImGui_ImplDX12_Shutdown();
|
ImGui_ImplDX12_Shutdown();
|
||||||
ImGui::DestroyContext();
|
ImGui::DestroyContext();
|
||||||
|
|
||||||
CleanupDeviceD3D();
|
CleanupDeviceD3D();
|
||||||
UnregisterClass(_T("ImGui Example"), wc.hInstance);
|
UnregisterClass(_T("ImGui Example"), wc.hInstance);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user