mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 16:24:12 +01:00
[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:
parent
41a91cbae6
commit
c911784bb8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user