mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 06:05:45 +00:00
Handle QueryInterface for ID3D12Device. Refs #1595
This commit is contained in:
@@ -617,6 +617,12 @@ HRESULT WrappedID3D12Device::QueryInterface(REFIID riid, void **ppvObject)
|
||||
return hr;
|
||||
}
|
||||
}
|
||||
else if(riid == __uuidof(ID3D12Device))
|
||||
{
|
||||
AddRef();
|
||||
*ppvObject = (ID3D12Device *)this;
|
||||
return S_OK;
|
||||
}
|
||||
else if(riid == __uuidof(ID3D12Device1))
|
||||
{
|
||||
if(m_pDevice1)
|
||||
|
||||
Reference in New Issue
Block a user