summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-11-18 16:31:03 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-11-18 16:31:03 +0000
commit466a563e61330078ca4b0559308b42f9468b9da3 (patch)
tree8ac915e2ad60c08ff82bea18a3fb46102e54d311 /Graphics/GraphicsEngineD3D11
parentD3D11 and D3D12 backends: fixed issue with resolving typeless resources (diff)
downloadDiligentCore-466a563e61330078ca4b0559308b42f9468b9da3.tar.gz
DiligentCore-466a563e61330078ca4b0559308b42f9468b9da3.zip
D3D12 backend: fixed issue with the format of the swap chain's back buffer texture
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 b11955f5..e62889ec 100644
--- a/Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp
+++ b/Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp
@@ -75,7 +75,7 @@ void SwapChainD3D11Impl::CreateRTVandDSV()
TextureViewDesc RTVDesc;
RTVDesc.ViewType = TEXTURE_VIEW_RENDER_TARGET;
- RTVDesc.Format = m_SwapChainDesc.ColorBufferFormat;
+ RTVDesc.Format = m_SwapChainDesc.ColorBufferFormat;
RefCntAutoPtr<ITextureView> pRTV;
pBackBuffer->CreateView(RTVDesc, &pRTV);
m_pRenderTargetView = RefCntAutoPtr<ITextureViewD3D11>(pRTV, IID_TextureViewD3D11);