summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/src/CommandContext.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineD3D12/src/CommandContext.cpp b/Graphics/GraphicsEngineD3D12/src/CommandContext.cpp
index da26de46..82bb8db8 100644
--- a/Graphics/GraphicsEngineD3D12/src/CommandContext.cpp
+++ b/Graphics/GraphicsEngineD3D12/src/CommandContext.cpp
@@ -48,9 +48,7 @@ CommandContext::CommandContext(CommandListManager& CmdListManager) :
m_PendingResourceBarriers.reserve(MaxPendingBarriers);
CmdListManager.CreateNewCommandList(&m_pCommandList, &m_pCurrentAllocator);
#ifdef DILIGENT_DEBUG
- if (CComQIPtr<ID3D12GraphicsCommandList5>(m_pCommandList))
- m_DbgMaxInterfaceVer = 5;
- else if (CComQIPtr<ID3D12GraphicsCommandList4>(m_pCommandList))
+ if (CComQIPtr<ID3D12GraphicsCommandList4>(m_pCommandList))
m_DbgMaxInterfaceVer = 4;
else if (CComQIPtr<ID3D12GraphicsCommandList3>(m_pCommandList))
m_DbgMaxInterfaceVer = 3;