vk_update_descriptor: Properly initialize payload on the update descriptor queue

master
ReinUsesLisp 2021-05-14 00:43:19 +07:00 committed by ameerj
parent d54d7de40e
commit 568d813eea
1 changed files with 3 additions and 1 deletions

@ -15,7 +15,9 @@
namespace Vulkan { namespace Vulkan {
VKUpdateDescriptorQueue::VKUpdateDescriptorQueue(const Device& device_, VKScheduler& scheduler_) VKUpdateDescriptorQueue::VKUpdateDescriptorQueue(const Device& device_, VKScheduler& scheduler_)
: device{device_}, scheduler{scheduler_} {} : device{device_}, scheduler{scheduler_} {
payload_cursor = payload.data();
}
VKUpdateDescriptorQueue::~VKUpdateDescriptorQueue() = default; VKUpdateDescriptorQueue::~VKUpdateDescriptorQueue() = default;