Skip to content

Commit 583aee7

Browse files
Fixed bug in BlockMetadata_TLSF::WriteAllocationInfoToJson
Fixes #35, thanks @Rob1B !
1 parent 4eee683 commit 583aee7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/D3D12MemAlloc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5603,7 +5603,7 @@ void BlockMetadata_TLSF::WriteAllocationInfoToJson(JsonWriter& json) const
56035603
if (block->IsFree())
56045604
PrintDetailedMap_UnusedRange(json, block->offset, block->size);
56055605
else
5606-
PrintDetailedMap_Allocation(json, block->size, block->offset, block->PrivateData());
5606+
PrintDetailedMap_Allocation(json, block->offset, block->size, block->PrivateData());
56075607
}
56085608
PrintDetailedMap_End(json);
56095609
}

0 commit comments

Comments
 (0)