VulkanHostDisplay: Fix a possible crash at shutdown with large post shaders

This commit is contained in:
Connor McLaughlin 2020-09-13 20:21:23 +10:00
parent 2492eb8678
commit 7a5f167c1c

View file

@ -439,6 +439,7 @@ void VulkanHostDisplay::DestroyResources()
m_post_processing_input_texture.Destroy(false); m_post_processing_input_texture.Destroy(false);
Vulkan::Util::SafeDestroyFramebuffer(m_post_processing_input_framebuffer); Vulkan::Util::SafeDestroyFramebuffer(m_post_processing_input_framebuffer);
m_post_processing_stages.clear(); m_post_processing_stages.clear();
m_post_processing_ubo.Destroy(true);
m_post_processing_chain.ClearStages(); m_post_processing_chain.ClearStages();
#endif #endif