summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-10-02 02:55:30 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-10-02 02:55:30 +0000
commit98f46b397b76ead7aaa701ebdadb949ac9ecb7d6 (patch)
tree1a0f2be785f2add72f908b1d4b949912f24735fa /Graphics/GraphicsEngineD3D12
parentFixed typo in repo desc. (diff)
downloadDiligentCore-98f46b397b76ead7aaa701ebdadb949ac9ecb7d6.tar.gz
DiligentCore-98f46b397b76ead7aaa701ebdadb949ac9ecb7d6.zip
Removed ForceRelease parameter of IDeviceContext::FinishFrame()
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/include/DeviceContextD3D12Impl.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp2
-rw-r--r--Graphics/GraphicsEngineD3D12/src/SwapChainD3D12Impl.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineD3D12/include/DeviceContextD3D12Impl.h b/Graphics/GraphicsEngineD3D12/include/DeviceContextD3D12Impl.h
index 84a69462..fa9f4d2c 100644
--- a/Graphics/GraphicsEngineD3D12/include/DeviceContextD3D12Impl.h
+++ b/Graphics/GraphicsEngineD3D12/include/DeviceContextD3D12Impl.h
@@ -86,7 +86,7 @@ public:
virtual void Flush()override final;
- virtual void FinishFrame(bool ForceRelease)override final;
+ virtual void FinishFrame()override final;
virtual void FinishCommandList(class ICommandList **ppCommandList)override final;
diff --git a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp
index 7115dde0..494c1df9 100644
--- a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp
+++ b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp
@@ -528,7 +528,7 @@ namespace Diligent
Flush(true);
}
- void DeviceContextD3D12Impl::FinishFrame(bool ForceRelease)
+ void DeviceContextD3D12Impl::FinishFrame()
{
//Uint64 FenceValue = ForceRelease ? std::numeric_limits<Uint64>::max() : m_pDevice.RawPtr<RenderDeviceD3D12Impl>()->GetCompletedFenceValue();
m_DynamicHeap.FinishFrame(m_LastSubmittedFenceValue);
diff --git a/Graphics/GraphicsEngineD3D12/src/SwapChainD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/SwapChainD3D12Impl.cpp
index d01d4ab5..d9caef16 100644
--- a/Graphics/GraphicsEngineD3D12/src/SwapChainD3D12Impl.cpp
+++ b/Graphics/GraphicsEngineD3D12/src/SwapChainD3D12Impl.cpp
@@ -131,7 +131,7 @@ void SwapChainD3D12Impl::Present(Uint32 SyncInterval)
auto hr = m_pSwapChain->Present( SyncInterval, 0 );
VERIFY(SUCCEEDED(hr), "Present failed");
- pImmediateCtxD3D12->FinishFrame(false);
+ pImmediateCtxD3D12->FinishFrame();
pDeviceD3D12->FinishFrame();
#if 0