1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-24 07:40:22 +01:00

Examples: DirectX12: Fixed shutdown issue. (#301)

This commit is contained in:
omar 2018-02-22 23:04:28 +01:00
parent 9be7d048c8
commit 7e24ce0956

View File

@ -407,9 +407,9 @@ int main(int, char**)
frameCtxt->FenceValue = fenceValue;
}
WaitForLastSubmittedFrame();
ImGui_ImplDX12_Shutdown();
ImGui::DestroyContext();
CleanupDeviceD3D();
UnregisterClass(_T("ImGui Example"), wc.hInstance);