1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

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

This commit is contained in:
ocornut 2025-03-31 21:43:15 +02:00
parent 23dc46c4f8
commit 074bf39e40

View file

@ -4394,6 +4394,7 @@ void ImGui::GcCompactTransientMiscBuffers()
g.MultiSelectTempDataStacked = 0;
g.MultiSelectTempData.clear_destruct();
TableGcCompactSettings();
g.IO.Fonts->CompactCache();
}
// Free up/compact internal window buffers, we can use this when a window becomes unused.