You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
[ConcurrentLinearAllocator] Fix third place where 64k was passed in as an alignment for non fastpath platforms.
#tests editor #rnx #rb trivial [CL 27931460 by anton dunchev in ue5-main branch]
This commit is contained in:
@@ -405,7 +405,7 @@ public:
|
||||
//support for oversized Blocks
|
||||
if (HeaderSize + Size + Alignment > BlockAllocationTag::BlockSize)
|
||||
{
|
||||
FBlockHeader* LargeHeader = new (BlockAllocationTag::Allocator::Malloc(HeaderSize + Size + Alignment, BlockAllocationTag::BlockSize)) FBlockHeader;
|
||||
FBlockHeader* LargeHeader = new (BlockAllocationTag::Allocator::Malloc(HeaderSize + Size + Alignment, alignof(FBlockHeader))) FBlockHeader;
|
||||
MemoryTrace_MarkAllocAsHeap(uint64(LargeHeader), EMemoryTraceRootHeap::SystemMemory);
|
||||
checkSlow(IsAligned(LargeHeader, alignof(FBlockHeader)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user