mirror of https://github.com/doitsujin/dxvk
[d3d11] Return S_OK from GetDeviceRemovedReason
This commit is contained in:
parent
19d81f1aef
commit
2dd2d16a09
|
@ -1255,8 +1255,12 @@ namespace dxvk {
|
||||||
|
|
||||||
|
|
||||||
HRESULT STDMETHODCALLTYPE D3D11Device::GetDeviceRemovedReason() {
|
HRESULT STDMETHODCALLTYPE D3D11Device::GetDeviceRemovedReason() {
|
||||||
Logger::err("D3D11Device::GetDeviceRemovedReason: Not implemented");
|
static std::atomic<bool> s_errorShown = false;
|
||||||
return E_NOTIMPL;
|
|
||||||
|
if (!s_errorShown.exchange(true))
|
||||||
|
Logger::warn("D3D11Device::GetDeviceRemovedReason: Stub");
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue