1
0
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:
Joshua Ashton 2020-02-27 22:55:20 +00:00
parent 33f6add0ff
commit 3332bb2844

View File

@ -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;