parent
33870e46e3
commit
c3e39e555a
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ public:
|
||||||
descriptorPoolCI.poolSizeCount = static_cast<uint32_t>(descriptorPoolSizes.size());
|
descriptorPoolCI.poolSizeCount = static_cast<uint32_t>(descriptorPoolSizes.size());
|
||||||
descriptorPoolCI.pPoolSizes = descriptorPoolSizes.data();
|
descriptorPoolCI.pPoolSizes = descriptorPoolSizes.data();
|
||||||
// Max. number of descriptor sets that can be allocted from this pool (one per object)
|
// Max. number of descriptor sets that can be allocted from this pool (one per object)
|
||||||
descriptorPoolCI.maxSets = static_cast<uint32_t>(descriptorPoolSizes.size());
|
descriptorPoolCI.maxSets = static_cast<uint32_t>(cubes.size());
|
||||||
|
|
||||||
VK_CHECK_RESULT(vkCreateDescriptorPool(device, &descriptorPoolCI, nullptr, &descriptorPool));
|
VK_CHECK_RESULT(vkCreateDescriptorPool(device, &descriptorPoolCI, nullptr, &descriptorPool));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue