Fixed bug with assert failure when JSON dump is created while a custom pool exist with specified string name

This commit is contained in:
Adam Sawicki 2022-03-29 17:24:48 +02:00
parent 5b598e0a35
commit 2d2a9e3df3
2 changed files with 7 additions and 2 deletions

View file

@ -16006,8 +16006,8 @@ void VmaAllocator_T::PrintDetailedMap(VmaJsonWriter& json)
json.ContinueString_Size(index++);
if (pool->GetName())
{
json.WriteString(" - ");
json.WriteString(pool->GetName());
json.ContinueString(" - ");
json.ContinueString(pool->GetName());
}
json.EndString();