mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	Merge branch 'master' into docking
# Conflicts: # imgui.h
This commit is contained in:
		
							
								
								
									
										10
									
								
								imgui.cpp
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								imgui.cpp
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
// dear imgui, v1.85
 | 
			
		||||
// dear imgui, v1.86 WIP
 | 
			
		||||
// (main code and documentation)
 | 
			
		||||
 | 
			
		||||
// Help:
 | 
			
		||||
@@ -4283,9 +4283,9 @@ void ImGui::NewFrame()
 | 
			
		||||
    for (int i = 0; i < g.TablesLastTimeActive.Size; i++)
 | 
			
		||||
        if (g.TablesLastTimeActive[i] >= 0.0f && g.TablesLastTimeActive[i] < memory_compact_start_time)
 | 
			
		||||
            TableGcCompactTransientBuffers(g.Tables.GetByIndex(i));
 | 
			
		||||
    for (int i = 0; i < g.TablesTempDataStack.Size; i++)
 | 
			
		||||
        if (g.TablesTempDataStack[i].LastTimeActive >= 0.0f && g.TablesTempDataStack[i].LastTimeActive < memory_compact_start_time)
 | 
			
		||||
            TableGcCompactTransientBuffers(&g.TablesTempDataStack[i]);
 | 
			
		||||
    for (int i = 0; i < g.TablesTempData.Size; i++)
 | 
			
		||||
        if (g.TablesTempData[i].LastTimeActive >= 0.0f && g.TablesTempData[i].LastTimeActive < memory_compact_start_time)
 | 
			
		||||
            TableGcCompactTransientBuffers(&g.TablesTempData[i]);
 | 
			
		||||
    if (g.GcCompactAll)
 | 
			
		||||
        GcCompactTransientMiscBuffers();
 | 
			
		||||
    g.GcCompactAll = false;
 | 
			
		||||
@@ -4419,7 +4419,7 @@ void ImGui::Shutdown(ImGuiContext* context)
 | 
			
		||||
    g.ShrinkWidthBuffer.clear();
 | 
			
		||||
 | 
			
		||||
    g.Tables.Clear();
 | 
			
		||||
    g.TablesTempDataStack.clear_destruct();
 | 
			
		||||
    g.TablesTempData.clear_destruct();
 | 
			
		||||
    g.DrawChannelsTempMergeBuffer.clear();
 | 
			
		||||
 | 
			
		||||
    g.ClipboardHandlerData.clear();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user