From b8a1036f652e73c00f1d16d0ee7e1adc8d836a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 13 Jun 2025 12:59:41 +0200 Subject: [PATCH] Fix another exit crash on D3D11 (already merged into master) --- Windows/GPU/D3D11Context.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Windows/GPU/D3D11Context.cpp b/Windows/GPU/D3D11Context.cpp index cce140df44..60ae2e9531 100644 --- a/Windows/GPU/D3D11Context.cpp +++ b/Windows/GPU/D3D11Context.cpp @@ -264,6 +264,7 @@ void D3D11Context::Shutdown() { // Important that we release before we unload the DLL, otherwise we may crash on shutdown. bbRenderTargetTex_ = nullptr; bbRenderTargetView_ = nullptr; + swapChain_ = nullptr; context1_ = nullptr; context_ = nullptr; device1_ = nullptr;