From 6db171fd90382721ab64dfddc32f76fffa7a8829 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 23 Sep 2018 21:12:45 -0700 Subject: Removed m_NextCmdBuffNumber from DeviceContextVkImpl plus other minor updates --- Graphics/GraphicsEngineD3D12/src/RenderDeviceD3D12Impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3D12') diff --git a/Graphics/GraphicsEngineD3D12/src/RenderDeviceD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/RenderDeviceD3D12Impl.cpp index c341dd48..792ad326 100644 --- a/Graphics/GraphicsEngineD3D12/src/RenderDeviceD3D12Impl.cpp +++ b/Graphics/GraphicsEngineD3D12/src/RenderDeviceD3D12Impl.cpp @@ -232,7 +232,7 @@ void RenderDeviceD3D12Impl::FinishFrame(bool ReleaseAllResources) auto CompletedFenceValue = ReleaseAllResources ? std::numeric_limits::max() : GetCompletedFenceValue(0); - PurgeReleaseQueues(); + PurgeReleaseQueues(ReleaseAllResources); // Dynamic memory is used to update resource contents as well as to allocate // space for dynamic resources. -- cgit v1.2.3