mirror of
https://github.com/ocornut/imgui.git
synced 2026-09-29 04:35:49 +03:00
This commit is contained in:
parent
b2377d616d
commit
2f94e7dc13
4 changed files with 181 additions and 50 deletions
|
|
@ -5751,8 +5751,11 @@ void ImGui::NewFrame()
|
|||
if (g.TablesLastTimeActive[i] >= 0.0f && g.TablesLastTimeActive[i] < memory_compact_start_time)
|
||||
TableGcCompactTransientBuffers(g.Tables.GetByIndex(i));
|
||||
for (ImGuiTableTempData& table_temp_data : g.TablesTempData)
|
||||
{
|
||||
table_temp_data.ReconcileColumnsRequests.clear(); // Unusual: clear every frame because this is rarely used.
|
||||
if (table_temp_data.LastTimeActive >= 0.0f && table_temp_data.LastTimeActive < memory_compact_start_time)
|
||||
TableGcCompactTransientBuffers(&table_temp_data);
|
||||
}
|
||||
if (g.GcCompactAll)
|
||||
GcCompactTransientMiscBuffers();
|
||||
g.GcCompactAll = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue