From 5140b4496aec227615bcbb5f94127066631a69d6 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 20 Oct 2019 10:15:26 -0700 Subject: Renamed DRAW_FLAG_RESOURCE_BUFFERS_INTACT to DRAW_FLAG_DYNAMIC_BUFFERS_INTACT + updated documentation --- Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3D12') 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; -- cgit v1.2.3