File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -16006,8 +16006,8 @@ void VmaAllocator_T::PrintDetailedMap(VmaJsonWriter& json)
16006
16006
json.ContinueString_Size(index++);
16007
16007
if (pool->GetName())
16008
16008
{
16009
- json.WriteString (" - ");
16010
- json.WriteString (pool->GetName());
16009
+ json.ContinueString (" - ");
16010
+ json.ContinueString (pool->GetName());
16011
16011
}
16012
16012
json.EndString();
16013
16013
Original file line number Diff line number Diff line change @@ -5175,6 +5175,11 @@ static void TestPool_SameSize()
5175
5175
vmaGetPoolName (g_hAllocator, pool, &fetchedPoolName);
5176
5176
TEST (strcmp (fetchedPoolName, POOL_NAME) == 0 );
5177
5177
5178
+ // Generate JSON dump. There was a bug with this...
5179
+ char * json = nullptr ;
5180
+ vmaBuildStatsString (g_hAllocator, &json, VK_TRUE);
5181
+ vmaFreeStatsString (g_hAllocator, json);
5182
+
5178
5183
vmaSetPoolName (g_hAllocator, pool, nullptr );
5179
5184
}
5180
5185
You can’t perform that action at this time.
0 commit comments