vk_update_descriptor: Properly initialize payload on the update descriptor queue

This commit is contained in:
ReinUsesLisp 2021-05-14 00:43:19 -03:00 committed by ameerj
parent d54d7de40e
commit 568d813eea

View File

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