Fonts: GC Compact All exposed in Metrics->Memory Allocations includes compacting texture data.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user