mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 02:52:10 +01:00
[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() {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user