mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 22:15:45 -04:00
libretro: Vulkan renderer support
This commit is contained in:
@ -232,6 +232,15 @@ void SafeDestroySampler(VkSampler& samp)
|
||||
}
|
||||
}
|
||||
|
||||
void SafeDestroySemaphore(VkSemaphore& sem)
|
||||
{
|
||||
if (sem != VK_NULL_HANDLE)
|
||||
{
|
||||
vkDestroySemaphore(g_vulkan_context->GetDevice(), sem, nullptr);
|
||||
sem = VK_NULL_HANDLE;
|
||||
}
|
||||
}
|
||||
|
||||
void SafeFreeGlobalDescriptorSet(VkDescriptorSet& ds)
|
||||
{
|
||||
if (ds != VK_NULL_HANDLE)
|
||||
|
Reference in New Issue
Block a user