summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-10-20 17:15:26 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-10-20 17:15:26 +0000
commit5140b4496aec227615bcbb5f94127066631a69d6 (patch)
tree15163416d7aa608cd5f64325dd348e36115e88d1 /Graphics/GraphicsEngineD3D12
parentAdded DRAW_FLAG_RESOURCE_BUFFERS_INTACT flag (API Version 240036) (diff)
downloadDiligentCore-5140b4496aec227615bcbb5f94127066631a69d6.tar.gz
DiligentCore-5140b4496aec227615bcbb5f94127066631a69d6.zip
Renamed DRAW_FLAG_RESOURCE_BUFFERS_INTACT to DRAW_FLAG_DYNAMIC_BUFFERS_INTACT + updated documentation
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp
index c1608c4a..32c1d49c 100644
--- a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp
+++ b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp
@@ -394,7 +394,7 @@ namespace Diligent
if (m_State.pCommittedResourceCache != nullptr)
{
- if (!m_State.bRootViewsCommitted || (Flags & DRAW_FLAG_RESOURCE_BUFFERS_INTACT) == 0)
+ if (!m_State.bRootViewsCommitted || (Flags & DRAW_FLAG_DYNAMIC_BUFFERS_INTACT) == 0)
{
m_pPipelineState->GetRootSignature().CommitRootViews(*m_State.pCommittedResourceCache, GraphCtx, false, this);
m_State.bRootViewsCommitted = true;