mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-30 04:55:41 -04:00
VulkanHostDisplay: Build fix for libretro
This commit is contained in:
parent
7d7367b9f1
commit
a1f527eddf
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user