1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 10:24:10 +01:00

[d3d9] Remove redundant logging from SetDialogBoxMode

This path doesn't error anyway...
This commit is contained in:
Joshua Ashton 2020-01-10 04:30:02 +00:00
parent 4308d9b4b3
commit 9647e449d2

View File

@ -348,12 +348,7 @@ namespace dxvk {
HRESULT STDMETHODCALLTYPE D3D9DeviceEx::SetDialogBoxMode(BOOL bEnableDialogs) { HRESULT STDMETHODCALLTYPE D3D9DeviceEx::SetDialogBoxMode(BOOL bEnableDialogs) {
D3D9DeviceLock lock = LockDevice(); D3D9DeviceLock lock = LockDevice();
HRESULT hr = GetInternalSwapchain(0)->SetDialogBoxMode(bEnableDialogs); return GetInternalSwapchain(0)->SetDialogBoxMode(bEnableDialogs);
if (FAILED(hr))
Logger::warn("D3D9DeviceEx::SetDialogBoxMode: Setting on swapchain failed.");
return hr;
} }