mirror of
https://github.com/ocornut/imgui.git
synced 2026-07-05 09:05:20 +00:00
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user