From b12b48fea3ea7919b7146ed0105a627f79c72497 Mon Sep 17 00:00:00 2001 From: Mark Nefedov Date: Fri, 8 May 2020 18:19:11 +0300 Subject: The 'BackBufferDesc.Format' variable is assigned values twice successively. Perhaps this is a mistake. --- Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Graphics/GraphicsEngineVulkan') 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(); -- cgit v1.2.3