diff options
| -rw-r--r-- | layers/core_validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index a11a214b..eb6acd14 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -6789,7 +6789,7 @@ vkAllocateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo *pAl pNewNode->set = pDescriptorSets[i]; pNewNode->descriptorCount = (pLayout->createInfo.bindingCount != 0) ? pLayout->endIndex + 1 : 0; if (pNewNode->descriptorCount) { - pNewNode->pDescriptorUpdates.reserve(pNewNode->descriptorCount); + pNewNode->pDescriptorUpdates.resize(pNewNode->descriptorCount); } dev_data->setMap[pDescriptorSets[i]] = pNewNode; } |
