From a5e61589967a8420561233dfc8f766070e3bcd46 Mon Sep 17 00:00:00 2001 From: baldurk Date: Sun, 30 Oct 2016 17:24:04 +0100 Subject: [PATCH] Forward QueryInterface call for ID3D11InfoQueue from context to device --- renderdoc/driver/d3d11/d3d11_context.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/renderdoc/driver/d3d11/d3d11_context.cpp b/renderdoc/driver/d3d11/d3d11_context.cpp index 2835e962a..09b1fa9e7 100644 --- a/renderdoc/driver/d3d11/d3d11_context.cpp +++ b/renderdoc/driver/d3d11/d3d11_context.cpp @@ -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);