Fix calculation of temp memory for pRenderingInfo

This commit is contained in:
baldurk
2022-03-25 18:17:24 +00:00
parent 2d518a5d90
commit 1c265bd1df
@@ -6677,7 +6677,7 @@ bool WrappedVulkan::Serialise_vkCmdBeginRendering(SerialiserType &ser, VkCommand
{
m_LastCmdBufferID = GetResourceManager()->GetOriginalID(GetResID(commandBuffer));
byte *tempMem = GetTempMemory(GetNextPatchSize(pRenderingInfo));
byte *tempMem = GetTempMemory(GetNextPatchSize(&RenderingInfo));
VkRenderingInfo *unwrappedInfo = UnwrapStructAndChain(m_State, tempMem, &RenderingInfo);
if(IsActiveReplaying(m_State))