mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-24 21:10:12 +00:00
Fixed bug in VmaBlockMetadata_Linear::PrintDetailedMap
Fixes #405 - thanks @marrodriguez-EA
This commit is contained in:
parent
7924e27f81
commit
5db4414d39
@ -7581,7 +7581,7 @@ void VmaBlockMetadata_Linear::PrintDetailedMap(class VmaJsonWriter& json) const
|
||||
// We are at the end.
|
||||
else
|
||||
{
|
||||
if (lastOffset < size)
|
||||
if (lastOffset < freeSpace1stTo2ndEnd)
|
||||
{
|
||||
// There is free space from lastOffset to freeSpace1stTo2ndEnd.
|
||||
++unusedRangeCount;
|
||||
|
Loading…
Reference in New Issue
Block a user