Fix exit crash on Windows ARM64 with D3D11 (and probably also x64 Windows, but couldn't repro that)

This commit is contained in:
Henrik Rydgård committed 2025-06-09 17:26:29 +02:00
1 parent ea2046f6b8
commit b0ccfbfe5d
2 files changed
+14

No files matched your search

+1
View File
@@ -335,6 +335,7 @@ void MainThreadFunc() {
g_graphicsContext->Shutdown();
delete g_graphicsContext;
g_graphicsContext = nullptr;
RECT rc;
if (console && GetWindowRect(console, &rc) && !IsIconic(console)) {