mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 09:35:40 +00:00
VulkanHostDisplay: Fix a possible crash at shutdown with large post shaders
This commit is contained in:
parent
2492eb8678
commit
7a5f167c1c
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue