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;