Skip to content

Commit 4ca7745

Browse files
committed
WIP - Fonts: GC Compact All exposed in Metrics->Memory Allocations includes compacting texture data.
1 parent 74b53b4 commit 4ca7745

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

imgui.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -4472,6 +4472,7 @@ void ImGui::GcCompactTransientMiscBuffers()
44724472
g.MultiSelectTempDataStacked = 0;
44734473
g.MultiSelectTempData.clear_destruct();
44744474
TableGcCompactSettings();
4475+
g.IO.Fonts->CompactCache();
44754476
}
44764477

44774478
// Free up/compact internal window buffers, we can use this when a window becomes unused.

0 commit comments

Comments
 (0)