vk: Do not leak mapped memory

This commit is contained in:
kd-11 2019-12-31 12:57:46 +03:00 committed by kd-11
parent 33f7d23571
commit 915cf0bae8

View File

@ -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)
{