mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
vk: Do not leak mapped memory
This commit is contained in:
parent
33f7d23571
commit
915cf0bae8
1 changed files with 5 additions and 1 deletions
|
@ -55,7 +55,11 @@ namespace vk
|
|||
renderpass_config.set_primitive_type(VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP);
|
||||
}
|
||||
|
||||
~overlay_pass() = default;
|
||||
~overlay_pass()
|
||||
{
|
||||
m_vao.destroy();
|
||||
m_ubo.destroy();
|
||||
}
|
||||
|
||||
u64 get_pipeline_key(VkRenderPass pass)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue