Commit 9647e449 authored by Joshua Ashton's avatar Joshua Ashton 🐸

[d3d9] Remove redundant logging from SetDialogBoxMode

This path doesn't error anyway...
parent 4308d9b4
......@@ -348,12 +348,7 @@ namespace dxvk {
HRESULT STDMETHODCALLTYPE D3D9DeviceEx::SetDialogBoxMode(BOOL bEnableDialogs) {
D3D9DeviceLock lock = LockDevice();
HRESULT hr = GetInternalSwapchain(0)->SetDialogBoxMode(bEnableDialogs);
if (FAILED(hr))
Logger::warn("D3D9DeviceEx::SetDialogBoxMode: Setting on swapchain failed.");
return hr;
return GetInternalSwapchain(0)->SetDialogBoxMode(bEnableDialogs);
}
......
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