vk: Do not leak mapped memory
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user