diff --git a/src/scenes/stream_reprojection.cpp b/src/scenes/stream_reprojection.cpp index b9f6189b..82263cb8 100644 --- a/src/scenes/stream_reprojection.cpp +++ b/src/scenes/stream_reprojection.cpp @@ -141,11 +141,11 @@ void stream_reprojection::init(VkDevice device, VkPhysicalDevice physical_device std::array pool_size{VkDescriptorPoolSize{ .type = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, - .descriptorCount = 1, + .descriptorCount = (uint32_t)input_images.size(), }, VkDescriptorPoolSize{ .type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, - .descriptorCount = 1, + .descriptorCount = (uint32_t)input_images.size(), }}; VkDescriptorPoolCreateInfo pool_info{