diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-04-21 05:38:47 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-04-21 05:38:47 +0000 |
| commit | 3cd69ada3f3b2d89fce29f9aff6dd660535e75da (patch) | |
| tree | 82aaaec9085f572aeb0b0f450519f36ef282e02f /Graphics/GraphicsEngineD3D12 | |
| parent | Reworked SetRenderTargets() function to set framebuffer size (diff) | |
| download | DiligentCore-3cd69ada3f3b2d89fce29f9aff6dd660535e75da.tar.gz DiligentCore-3cd69ada3f3b2d89fce29f9aff6dd660535e75da.zip | |
Renamed ClearRenderTargets to ResetRenderTargets
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
| -rw-r--r-- | Graphics/GraphicsEngineD3D12/src/SwapChainD3D12Impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D12/src/SwapChainD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/SwapChainD3D12Impl.cpp index 4ccadb64..353a7ef0 100644 --- a/Graphics/GraphicsEngineD3D12/src/SwapChainD3D12Impl.cpp +++ b/Graphics/GraphicsEngineD3D12/src/SwapChainD3D12Impl.cpp @@ -159,7 +159,7 @@ void SwapChainD3D12Impl::UpdateSwapChain(bool CreateNew) auto *pImmediateCtxD3D12 = pDeviceContext.RawPtr<DeviceContextD3D12Impl>(); bool bIsDefaultFBBound = pImmediateCtxD3D12->IsDefaultFBBound(); if(bIsDefaultFBBound) - pImmediateCtxD3D12->ClearRenderTargets(); + pImmediateCtxD3D12->ResetRenderTargets(); // All references to the swap chain must be released before it can be resized m_pBackBufferRTV.clear(); |
