Skip to content

Commit

Permalink
Merge pull request #925 from echolumj/test-lmj
Browse files Browse the repository at this point in the history
About getAvailability in Descriptor Pool
  • Loading branch information
robertosfield authored Aug 23, 2023
2 parents c18cb9b + 0371492 commit 84eb95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vsg/vk/DescriptorPool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ bool DescriptorPool::getAvailability(uint32_t& maxSets, DescriptorPoolSizes& des
break;
}
}
if (itr != descriptorPoolSizes.end())
if (itr == descriptorPoolSizes.end())
{
descriptorPoolSizes.push_back(VkDescriptorPoolSize{availableType, availableCount});
}
Expand Down

0 comments on commit 84eb95a

Please sign in to comment.