mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12: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);
|
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)
|
u64 get_pipeline_key(VkRenderPass pass)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue