mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 23:41:18 +12:00
Vulkan: Free command buffer semaphores
This commit is contained in:
parent
c93858bf96
commit
e524e080e1
1 changed files with 6 additions and 0 deletions
|
@ -677,6 +677,12 @@ VulkanRenderer::~VulkanRenderer()
|
||||||
it = VK_NULL_HANDLE;
|
it = VK_NULL_HANDLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for(auto& sem : m_commandBufferSemaphores)
|
||||||
|
{
|
||||||
|
vkDestroySemaphore(m_logicalDevice, sem, nullptr);
|
||||||
|
sem = VK_NULL_HANDLE;
|
||||||
|
}
|
||||||
|
|
||||||
if (m_pipelineLayout != VK_NULL_HANDLE)
|
if (m_pipelineLayout != VK_NULL_HANDLE)
|
||||||
vkDestroyPipelineLayout(m_logicalDevice, m_pipelineLayout, nullptr);
|
vkDestroyPipelineLayout(m_logicalDevice, m_pipelineLayout, nullptr);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue