From a1f527eddfbfad3e2b2bbfb54f4f9e691e77c893 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 13 Sep 2020 12:27:34 +1000 Subject: [PATCH] VulkanHostDisplay: Build fix for libretro --- src/frontend-common/vulkan_host_display.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend-common/vulkan_host_display.cpp b/src/frontend-common/vulkan_host_display.cpp index b3f1bd3a9..bcd5bddc1 100644 --- a/src/frontend-common/vulkan_host_display.cpp +++ b/src/frontend-common/vulkan_host_display.cpp @@ -591,6 +591,7 @@ void VulkanHostDisplay::RenderDisplay() const auto [left, top, width, height] = CalculateDrawRect(GetWindowWidth(), GetWindowHeight(), m_display_top_margin); +#ifndef LIBRETRO if (!m_post_processing_chain.IsEmpty()) { ApplyPostProcessingChain(left, top, width, height, m_display_texture_handle, m_display_texture_width, @@ -598,6 +599,7 @@ void VulkanHostDisplay::RenderDisplay() m_display_texture_view_width, m_display_texture_view_height); return; } +#endif BeginSwapChainRenderPass(m_swap_chain->GetCurrentFramebuffer()); RenderDisplay(left, top, width, height, m_display_texture_handle, m_display_texture_width, m_display_texture_height,