From 20490b678f6fb88339c8d0cb697c4825b2e391f9 Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Wed, 6 Mar 2024 12:05:56 +0100 Subject: [PATCH] [d3d9] Fix missing else brackets in ResetSwapchain --- src/d3d9/d3d9_device.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 329e9e7b..7e44661b 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -7842,9 +7842,10 @@ namespace dxvk { if (FAILED(hr)) return hr; } - else + else { m_implicitSwapchain = new D3D9SwapChainEx(this, pPresentationParameters, pFullscreenDisplayMode); m_mostRecentlyUsedSwapchain = m_implicitSwapchain.ptr(); + } if (pPresentationParameters->EnableAutoDepthStencil) { D3D9_COMMON_TEXTURE_DESC desc;