Unwrap serialised info passed to vkCreateDescriptorUpdateTemplate

This commit is contained in:
baldurk
2019-08-14 10:59:52 +01:00
parent 97c3186e34
commit 3a304862f4
@@ -1134,8 +1134,9 @@ bool WrappedVulkan::Serialise_vkCreateDescriptorUpdateTemplate(
{
VkDescriptorUpdateTemplate templ = VK_NULL_HANDLE;
VkDescriptorUpdateTemplateCreateInfo unwrapped = UnwrapInfo(&CreateInfo);
VkResult ret =
ObjDisp(device)->CreateDescriptorUpdateTemplate(Unwrap(device), &CreateInfo, NULL, &templ);
ObjDisp(device)->CreateDescriptorUpdateTemplate(Unwrap(device), &unwrapped, NULL, &templ);
if(ret != VK_SUCCESS)
{