diff --git a/src/d3d11/d3d11_device.cpp b/src/d3d11/d3d11_device.cpp index 35147df72..b28703758 100644 --- a/src/d3d11/d3d11_device.cpp +++ b/src/d3d11/d3d11_device.cpp @@ -1733,12 +1733,12 @@ namespace dxvk { HRESULT STDMETHODCALLTYPE D3D11Device::GetDeviceRemovedReason() { - static std::atomic s_errorShown = { false }; - - if (!s_errorShown.exchange(true)) - Logger::warn("D3D11Device::GetDeviceRemovedReason: Stub"); - - return S_OK; + VkResult status = m_dxvkDevice->getDeviceStatus(); + + switch (status) { + case VK_SUCCESS: return S_OK; + default: return DXGI_ERROR_DEVICE_RESET; + } }