Fonts: GC Compact All exposed in Metrics->Memory Allocations includes compacting texture data.

This commit is contained in:
ocornut
2025-06-11 15:56:24 +02:00
parent 23dc46c4f8
commit 074bf39e40
+1
View File
@@ -4394,6 +4394,7 @@ void ImGui::GcCompactTransientMiscBuffers()
g.MultiSelectTempDataStacked = 0; g.MultiSelectTempDataStacked = 0;
g.MultiSelectTempData.clear_destruct(); g.MultiSelectTempData.clear_destruct();
TableGcCompactSettings(); TableGcCompactSettings();
g.IO.Fonts->CompactCache();
} }
// Free up/compact internal window buffers, we can use this when a window becomes unused. // Free up/compact internal window buffers, we can use this when a window becomes unused.