Tidy up logging of unknown interface queries

This commit is contained in:
baldurk
2020-10-30 16:49:57 +00:00
parent 8548892939
commit 41c57c0b68
14 changed files with 85 additions and 119 deletions
+2 -5
View File
@@ -1526,12 +1526,9 @@ HRESULT STDMETHODCALLTYPE WrappedID3D11DeviceContext::QueryInterface(REFIID riid
{
return m_WrappedVideo.QueryInterface(riid, ppvObject);
}
else
{
WarnUnknownGUID("ID3D11DeviceContext", riid);
}
return RefCountDXGIObject::WrapQueryInterface(m_pRealContext, riid, ppvObject);
return RefCountDXGIObject::WrapQueryInterface(m_pRealContext, "ID3D11DeviceContext", riid,
ppvObject);
}
#pragma region Record Statistics