mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-08 16:01:19 +12:00
Vulkan: Destroy VkShaderModule objects
This commit is contained in:
parent
af5114d031
commit
2793f88a82
1 changed files with 3 additions and 0 deletions
|
@ -211,6 +211,9 @@ RendererShaderVk::~RendererShaderVk()
|
||||||
{
|
{
|
||||||
while (!list_pipelineInfo.empty())
|
while (!list_pipelineInfo.empty())
|
||||||
delete list_pipelineInfo[0];
|
delete list_pipelineInfo[0];
|
||||||
|
|
||||||
|
VkDevice vkDev = VulkanRenderer::GetInstance()->GetLogicalDevice();
|
||||||
|
vkDestroyShaderModule(vkDev, m_shader_module, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RendererShaderVk::Init()
|
void RendererShaderVk::Init()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue