mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-25 16:14:35 +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.
|
// We are at the end.
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (lastOffset < size)
|
if (lastOffset < freeSpace1stTo2ndEnd)
|
||||||
{
|
{
|
||||||
// There is free space from lastOffset to freeSpace1stTo2ndEnd.
|
// There is free space from lastOffset to freeSpace1stTo2ndEnd.
|
||||||
++unusedRangeCount;
|
++unusedRangeCount;
|
||||||
|
Loading…
Reference in New Issue
Block a user