summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-04-21 05:38:47 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-04-21 05:38:47 +0000
commit3cd69ada3f3b2d89fce29f9aff6dd660535e75da (patch)
tree82aaaec9085f572aeb0b0f450519f36ef282e02f /Graphics/GraphicsEngineD3D11
parentReworked SetRenderTargets() function to set framebuffer size (diff)
downloadDiligentCore-3cd69ada3f3b2d89fce29f9aff6dd660535e75da.tar.gz
DiligentCore-3cd69ada3f3b2d89fce29f9aff6dd660535e75da.zip
Renamed ClearRenderTargets to ResetRenderTargets
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
-rw-r--r--Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp
index f5a191ad..ad619ef7 100644
--- a/Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp
+++ b/Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp
@@ -142,7 +142,7 @@ void SwapChainD3D11Impl::UpdateSwapChain(bool CreateNew)
auto *pImmediateCtxD3D11 = pDeviceContext.RawPtr<DeviceContextD3D11Impl>();
bool bIsDefaultFBBound = pImmediateCtxD3D11->IsDefaultFBBound();
if (bIsDefaultFBBound)
- pImmediateCtxD3D11->ClearRenderTargets();
+ pImmediateCtxD3D11->ResetRenderTargets();
// Swap chain cannot be resized until all references are released
m_pRenderTargetView.Release();