summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorMark Nefedov <mark_nefedov@outlook.com>2020-05-08 15:19:11 +0000
committerMark Nefedov <mark_nefedov@outlook.com>2020-05-08 15:19:11 +0000
commitb12b48fea3ea7919b7146ed0105a627f79c72497 (patch)
treec240907e7e94863645d42dc1cb30565eb01688ba /Graphics/GraphicsEngineVulkan
parentVK backend: improved debug string for render pass objects (diff)
downloadDiligentCore-b12b48fea3ea7919b7146ed0105a627f79c72497.tar.gz
DiligentCore-b12b48fea3ea7919b7146ed0105a627f79c72497.zip
The 'BackBufferDesc.Format' variable is assigned values twice successively. Perhaps this is a mistake.
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
index 732c47e5..a72f34ca 100644
--- a/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
@@ -513,7 +513,6 @@ void SwapChainVkImpl::InitBuffersAndViews()
for (uint32_t i = 0; i < swapchainImageCount; i++)
{
TextureDesc BackBufferDesc;
- BackBufferDesc.Format = m_SwapChainDesc.ColorBufferFormat;
std::stringstream name_ss;
name_ss << "Main back buffer " << i;
auto name = name_ss.str();