[d3d9] Synchronize with presentation in D3D9SwapChainEx::Reset

Otherwise, the subsequent patches would break if Reset is called
while there's still a frame in flight.
This commit is contained in:
Philip Rebohle 2020-01-15 12:13:57 +01:00 committed by Philip Rebohle
parent 41a91cbae6
commit c911784bb8
1 changed files with 1 additions and 0 deletions

View File

@ -289,6 +289,7 @@ namespace dxvk {
D3DDISPLAYMODEEX* pFullscreenDisplayMode) {
auto lock = m_parent->LockDevice();
this->SynchronizePresent();
this->NormalizePresentParameters(pPresentParams);
m_dirty |= m_presentParams.BackBufferFormat != pPresentParams->BackBufferFormat