1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[d3d9] Don't re-set dialogbox mode on swapchain Reset

There's no reason to do this now that we have no error path in SetDialogBoxMode...
This commit is contained in:
Joshua Ashton 2020-01-04 21:12:53 +00:00
parent d53b3adaea
commit 845ab2b5af

View File

@ -338,13 +338,6 @@ namespace dxvk {
UpdatePresentRegion(nullptr, nullptr);
CreateBackBuffer();
// If we would fail to go into dialog box mode with
// the new mode, let's escape from dialog mode.
HRESULT hr = SetDialogBoxMode(m_dialog);
if (FAILED(hr))
SetDialogBoxMode(false);
}