mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
vulkan: Fix crash at exit
This commit is contained in:
parent
d9eba43360
commit
e083c1471c
1 changed files with 5 additions and 0 deletions
|
@ -457,6 +457,11 @@ VKGSRender::~VKGSRender()
|
|||
//TODO: Properly destroy shader modules instead of calling clear...
|
||||
m_prog_buffer.clear();
|
||||
|
||||
m_index_buffer.release();
|
||||
m_uniform_buffer.release();
|
||||
|
||||
|
||||
|
||||
for (auto &render_pass : m_render_passes)
|
||||
if (render_pass)
|
||||
vkDestroyRenderPass(*m_device, render_pass, nullptr);
|
||||
|
|
Loading…
Add table
Reference in a new issue