mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
vk: Do not leak mapped memory
This commit is contained in:
parent
33f7d23571
commit
915cf0bae8
@ -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…
Reference in New Issue
Block a user