mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-10 12:00:31 +00:00
Fix up calls to CheckFeatureSupport
This commit is contained in:
committed by
Jake Turner
parent
4957cfd39a
commit
97c072fa79
@@ -629,11 +629,11 @@ WrappedID3D12Device::WrappedID3D12Device(ID3D12Device *realDevice, D3D12InitPara
|
||||
sizeof(m_D3D12Opts14));
|
||||
if(hr != S_OK)
|
||||
RDCEraseEl(m_D3D12Opts14);
|
||||
hr = m_pDevice->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS14, &m_D3D12Opts15,
|
||||
hr = m_pDevice->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS15, &m_D3D12Opts15,
|
||||
sizeof(m_D3D12Opts15));
|
||||
if(hr != S_OK)
|
||||
RDCEraseEl(m_D3D12Opts15);
|
||||
hr = m_pDevice->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS14, &m_D3D12Opts16,
|
||||
hr = m_pDevice->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS16, &m_D3D12Opts16,
|
||||
sizeof(m_D3D12Opts16));
|
||||
if(hr != S_OK)
|
||||
RDCEraseEl(m_D3D12Opts16);
|
||||
|
||||
Reference in New Issue
Block a user