mirror of https://github.com/bkaradzic/bgfx
D3D11: Disabled ID3D11Device3 when RenderDoc is present.
This commit is contained in:
parent
b1648aea1a
commit
d94ffa2882
|
@ -1014,6 +1014,13 @@ namespace bgfx { namespace d3d11
|
|||
}
|
||||
}
|
||||
|
||||
if (NULL != m_renderdocdll)
|
||||
{
|
||||
// RenderDoc doesn't support ID3D11Device3 yet:
|
||||
// https://github.com/baldurk/renderdoc/issues/235
|
||||
m_deviceInterfaceVersion = bx::uint32_min(m_deviceInterfaceVersion, 1);
|
||||
}
|
||||
|
||||
IDXGIDevice* device = NULL;
|
||||
IDXGIAdapter* adapter = NULL;
|
||||
hr = E_FAIL;
|
||||
|
@ -1222,7 +1229,6 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
|||
}
|
||||
|
||||
{
|
||||
|
||||
UniformHandle handle = BGFX_INVALID_HANDLE;
|
||||
for (uint32_t ii = 0; ii < PredefinedUniform::Count; ++ii)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue