Commit 845ab2b5 authored by Joshua Ashton's avatar Joshua Ashton 🐸

[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...
parent d53b3ada
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment