Fix initial contents for UPLOAD heap resources being lost

This commit is contained in:
baldurk
2018-10-31 15:25:14 +00:00
parent 57caf01394
commit 8dbdb1db0d
@@ -485,6 +485,8 @@ bool D3D12ResourceManager::Serialise_InitialState(SerialiserType &ser, ResourceI
mappedBuffer = NULL;
ResourceContents = initContents.srcData = AllocAlignedBuffer(RDCMAX(ContentsLength, 64ULL));
initContents.resourceType = Resource_Resource;
SetInitialContents(id, initContents);
}
else
{