1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-11 01:24:12 +01:00

[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

View File

@ -7842,9 +7842,10 @@ namespace dxvk {
if (FAILED(hr)) if (FAILED(hr))
return hr; return hr;
} }
else else {
m_implicitSwapchain = new D3D9SwapChainEx(this, pPresentationParameters, pFullscreenDisplayMode); m_implicitSwapchain = new D3D9SwapChainEx(this, pPresentationParameters, pFullscreenDisplayMode);
m_mostRecentlyUsedSwapchain = m_implicitSwapchain.ptr(); m_mostRecentlyUsedSwapchain = m_implicitSwapchain.ptr();
}
if (pPresentationParameters->EnableAutoDepthStencil) { if (pPresentationParameters->EnableAutoDepthStencil) {
D3D9_COMMON_TEXTURE_DESC desc; D3D9_COMMON_TEXTURE_DESC desc;