From 41df93f81d8028a6ee50dfd6d430fcbe4c601dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Fri, 16 Apr 2021 22:05:08 -0700 Subject: [PATCH] Cleanup. --- src/renderer_vk.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer_vk.cpp b/src/renderer_vk.cpp index 45579ff84..dcc72720c 100644 --- a/src/renderer_vk.cpp +++ b/src/renderer_vk.cpp @@ -5995,7 +5995,7 @@ VK_DESTROY m_lastImageRenderedSemaphore = VK_NULL_HANDLE; m_lastImageAcquiredSemaphore = VK_NULL_HANDLE; - + releaseFrameBuffer(); releaseRenderPass(); releaseSwapChain(); @@ -6238,7 +6238,7 @@ VK_DESTROY } m_backBufferDepthStencilImageView = m_backBufferDepthStencil.createView(0, 1, 0, 1, VK_IMAGE_VIEW_TYPE_2D, true); - + if (m_sampler.Count > 1) { result = m_backBufferColorMsaa.create( @@ -7092,6 +7092,7 @@ VK_DESTROY const uint16_t srcSamples = VK_NULL_HANDLE != src.m_singleMsaaImage ? 1 : src.m_sampler.Count; const uint16_t dstSamples = dst.m_sampler.Count; + BX_UNUSED(srcSamples, dstSamples); BX_ASSERT( srcSamples == dstSamples