Corrected stage flag for push constant range, removed descriptor sets (not used in this example)
This commit is contained in:
parent
52ffbb59bb
commit
2517a2b82e
3 changed files with 10 additions and 63 deletions
|
|
@ -600,7 +600,10 @@ VulkanExampleBase::~VulkanExampleBase()
|
|||
{
|
||||
// Clean up Vulkan resources
|
||||
swapChain.cleanup();
|
||||
vkDestroyDescriptorPool(device, descriptorPool, nullptr);
|
||||
if (descriptorPool != VK_NULL_HANDLE)
|
||||
{
|
||||
vkDestroyDescriptorPool(device, descriptorPool, nullptr);
|
||||
}
|
||||
if (setupCmdBuffer != VK_NULL_HANDLE)
|
||||
{
|
||||
vkFreeCommandBuffers(device, cmdPool, 1, &setupCmdBuffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue