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
1 changed files with 3 additions and 1 deletions

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;