Forward QueryInterface call for ID3D11InfoQueue from context to device

This commit is contained in:
baldurk
2016-10-31 01:01:53 +01:00
parent 4dc75a69fe
commit a5e6158996
+5
View File
@@ -1639,6 +1639,11 @@ HRESULT STDMETHODCALLTYPE WrappedID3D11DeviceContext::QueryInterface(REFIID riid
m_UserAnnotation.AddRef();
return S_OK;
}
else if(riid == __uuidof(ID3D11InfoQueue))
{
// forward to device
return m_pDevice->QueryInterface(riid, ppvObject);
}
else
{
string guid = ToStr::Get(riid);