Only update backing store if it has been allocated. Closes #2583

This commit is contained in:
baldurk
2022-05-11 00:52:42 +01:00
parent f3fe008d73
commit ee3e77a5a7
@@ -7740,7 +7740,7 @@ bool WrappedID3D11DeviceContext::Serialise_Unmap(SerialiserType &ser, ID3D11Reso
}
}
if(IsBackgroundCapturing(m_State))
if(IsBackgroundCapturing(m_State) && record->DataInSerialiser)
{
// if there was already backing store then normally the user wrote directly into it so we
// don't even have to update anything, except in the case where we were verifying map