mirror of
https://github.com/ocornut/imgui.git
synced 2025-04-05 05:25:08 +00:00
WIP - Fonts: GC Compact All exposed in Metrics->Memory Allocations includes compacting texture data.
This commit is contained in:
parent
f31f39f32e
commit
cde97ff692
1 changed files with 1 additions and 0 deletions
|
@ -4472,6 +4472,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.
|
||||
|
|
Loading…
Add table
Reference in a new issue