mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 16:24:12 +01:00
[d3d9] Add some missing synchronization when completely remaking a presenter
This commit is contained in:
parent
33f6add0ff
commit
3332bb2844
@ -808,6 +808,12 @@ namespace dxvk {
|
||||
|
||||
|
||||
void D3D9SwapChainEx::CreatePresenter() {
|
||||
// Ensure that we can safely destroy the swap chain
|
||||
m_device->waitForSubmission(&m_presentStatus);
|
||||
m_device->waitForIdle();
|
||||
|
||||
m_presentStatus.result = VK_SUCCESS;
|
||||
|
||||
DxvkDeviceQueue graphicsQueue = m_device->queues().graphics;
|
||||
|
||||
vk::PresenterDevice presenterDevice;
|
||||
|
Loading…
Reference in New Issue
Block a user