mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-13 00:24:20 +00:00
Tables: sharing transient buffers between tables, reducing memory footprints. (#3740)
This commit is contained in:
parent
cbcd89152b
commit
32c453ae53
3 changed files with 72 additions and 43 deletions
|
|
@ -4204,7 +4204,9 @@ void ImGui::Shutdown(ImGuiContext* context)
|
|||
g.ShrinkWidthBuffer.clear();
|
||||
|
||||
g.Tables.Clear();
|
||||
g.CurrentTableStack.clear();
|
||||
for (int i = 0; i < g.TablesTempDataStack.Size; i++)
|
||||
g.TablesTempDataStack[i].~ImGuiTableTempData();
|
||||
g.TablesTempDataStack.clear();
|
||||
g.DrawChannelsTempMergeBuffer.clear();
|
||||
|
||||
g.ClipboardHandlerData.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue