mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 22:25:46 -04:00
GPU/Vulkan: Use geometry shader for line rendering at >1xIR
This commit is contained in:
@ -178,6 +178,15 @@ void SafeDestroyFramebuffer(VkFramebuffer& fb)
|
||||
}
|
||||
}
|
||||
|
||||
void SafeDestroyShaderModule(VkShaderModule& sm)
|
||||
{
|
||||
if (sm != VK_NULL_HANDLE)
|
||||
{
|
||||
vkDestroyShaderModule(g_vulkan_context->GetDevice(), sm, nullptr);
|
||||
sm = VK_NULL_HANDLE;
|
||||
}
|
||||
}
|
||||
|
||||
void SafeDestroyPipeline(VkPipeline& p)
|
||||
{
|
||||
if (p != VK_NULL_HANDLE)
|
||||
|
Reference in New Issue
Block a user