Back out clearly inconsequential/useless .reserve() calls

This commit is contained in:
Henrik Rydgård committed 2023-12-29 08:27:56 +01:00
1 parent c97d5ef23f
commit 126d88ecfc
25 files changed
+14 -61

No files matched your search

-1
View File
@@ -92,7 +92,6 @@ bool VulkanQueueRunner::CreateSwapchain(VkCommandBuffer cmdInit) {
return false;
}
swapchainImages_.reserve(swapchainImageCount_);
for (uint32_t i = 0; i < swapchainImageCount_; i++) {
SwapchainImageData sc_buffer{};
sc_buffer.image = swapchainImages[i];