[d3d9] Fix missing else brackets in ResetSwapchain

This commit is contained in:
Robin Kertels 2024-03-06 12:05:56 +01:00
parent 428c98bc63
commit 20490b678f
1 changed files with 2 additions and 1 deletions

View File

@ -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;