mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-19 00:11:02 +00:00
Fix queries for IDXGIOutput4-6
This commit is contained in:
@@ -654,7 +654,7 @@ HRESULT STDMETHODCALLTYPE WrappedIDXGIOutput6::QueryInterface(REFIID riid, void
|
||||
}
|
||||
else if(riid == __uuidof(IDXGIOutput4))
|
||||
{
|
||||
if(m_pReal3)
|
||||
if(m_pReal4)
|
||||
{
|
||||
AddRef();
|
||||
*ppvObject = (IDXGIOutput4 *)this;
|
||||
@@ -667,7 +667,7 @@ HRESULT STDMETHODCALLTYPE WrappedIDXGIOutput6::QueryInterface(REFIID riid, void
|
||||
}
|
||||
else if(riid == __uuidof(IDXGIOutput5))
|
||||
{
|
||||
if(m_pReal3)
|
||||
if(m_pReal5)
|
||||
{
|
||||
AddRef();
|
||||
*ppvObject = (IDXGIOutput5 *)this;
|
||||
@@ -678,6 +678,19 @@ HRESULT STDMETHODCALLTYPE WrappedIDXGIOutput6::QueryInterface(REFIID riid, void
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
}
|
||||
else if(riid == __uuidof(IDXGIOutput6))
|
||||
{
|
||||
if(m_pReal6)
|
||||
{
|
||||
AddRef();
|
||||
*ppvObject = (IDXGIOutput6 *)this;
|
||||
return S_OK;
|
||||
}
|
||||
else
|
||||
{
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
WarnUnknownGUID("IDXGIOutput", riid);
|
||||
|
||||
Reference in New Issue
Block a user