From 3cd69ada3f3b2d89fce29f9aff6dd660535e75da Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 20 Apr 2018 22:38:47 -0700 Subject: Renamed ClearRenderTargets to ResetRenderTargets --- Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3D11') 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(); bool bIsDefaultFBBound = pImmediateCtxD3D11->IsDefaultFBBound(); if (bIsDefaultFBBound) - pImmediateCtxD3D11->ClearRenderTargets(); + pImmediateCtxD3D11->ResetRenderTargets(); // Swap chain cannot be resized until all references are released m_pRenderTargetView.Release(); -- cgit v1.2.3