This commit is contained in:
Branimir Karadžić
2026-10-22 06:42:03 +00:00
committed by GitHub
parent 0dc03b5432
commit 7f461b244b
+4
View File
@@ -8211,7 +8211,9 @@ namespace bgfx { namespace d3d12
return;
}
#if BX_PLATFORM_WINDOWS
const SwapChain prev = m_desc;
#endif // BX_PLATFORM_WINDOWS
m_desc = _desc;
m_nwh = _desc.nwh;
@@ -8459,6 +8461,8 @@ namespace bgfx { namespace d3d12
DX_RELEASE(m_backBufferDepthStencil, 0);
DX_RELEASE(m_msaaRt, 0);
}
#else
BX_UNUSED(_defer);
#endif // BX_PLATFORM_WINDOWS
}