diff --git a/src/d3d9/d3d9_swapchain.cpp b/src/d3d9/d3d9_swapchain.cpp index fc32bb41..a1799117 100644 --- a/src/d3d9/d3d9_swapchain.cpp +++ b/src/d3d9/d3d9_swapchain.cpp @@ -199,7 +199,7 @@ namespace dxvk { m_window = m_presentParams.hDeviceWindow; UpdatePresentRegion(nullptr, nullptr); - if (!pDevice->GetOptions()->deferSurfaceCreation) + if (m_window && !pDevice->GetOptions()->deferSurfaceCreation) CreatePresenter(); CreateBackBuffers(m_presentParams.BackBufferCount);