[d3d11] Return S_OK from GetDeviceRemovedReason

This commit is contained in:
Philip Rebohle 2018-01-12 11:39:59 +01:00
parent 19d81f1aef
commit 2dd2d16a09
1 changed files with 6 additions and 2 deletions

View File

@ -1255,8 +1255,12 @@ namespace dxvk {
HRESULT STDMETHODCALLTYPE D3D11Device::GetDeviceRemovedReason() {
Logger::err("D3D11Device::GetDeviceRemovedReason: Not implemented");
return E_NOTIMPL;
static std::atomic<bool> s_errorShown = false;
if (!s_errorShown.exchange(true))
Logger::warn("D3D11Device::GetDeviceRemovedReason: Stub");
return S_OK;
}