mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-26 13:05:34 -06:00
Vulkan: Free command buffer semaphores
This commit is contained in:
parent
c93858bf96
commit
e524e080e1
@ -677,6 +677,12 @@ VulkanRenderer::~VulkanRenderer()
|
||||
it = VK_NULL_HANDLE;
|
||||
}
|
||||
|
||||
for(auto& sem : m_commandBufferSemaphores)
|
||||
{
|
||||
vkDestroySemaphore(m_logicalDevice, sem, nullptr);
|
||||
sem = VK_NULL_HANDLE;
|
||||
}
|
||||
|
||||
if (m_pipelineLayout != VK_NULL_HANDLE)
|
||||
vkDestroyPipelineLayout(m_logicalDevice, m_pipelineLayout, nullptr);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user