AssetMemoryAnalyzer

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-17 16:45:18 -07:00
committed by Esteban Papp
parent 5e863f810d
commit 82ba53dee3
2 changed files with 7 additions and 7 deletions
@@ -201,13 +201,13 @@ namespace AssetMemoryAnalyzer
{
case AllocationCategories::HEAP:
ImGui::Text(FormatUtils::FormatCodePoint(*ap->m_codePoint));
heapSummary.m_allocationCount = ap->m_allocations.size();
heapSummary.m_allocationCount = static_cast<uint32_t>(ap->m_allocations.size());
heapSummary.m_allocatedMemory = ap->m_totalAllocatedMemory;
break;
case AllocationCategories::VRAM:
ImGui::Text("%s", ap->m_codePoint->m_file);
vramSummary.m_allocationCount = ap->m_allocations.size();
vramSummary.m_allocationCount = static_cast<uint32_t>(ap->m_allocations.size());
vramSummary.m_allocatedMemory = ap->m_totalAllocatedMemory;
break;
}