diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 92061419..d7f72ea4 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -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); }