Fixing unbalanced tree pop in grouped GPU zones.

This commit is contained in:
Ben Vanik 2021-07-16 16:13:21 -07:00
parent ef2a25319c
commit e3165c333b

View File

@ -8312,6 +8312,7 @@ void View::DrawGpuInfoWindow()
{ {
DrawGpuInfoChildren<VectorAdapterPointer<GpuEvent>>( children, ztime ); DrawGpuInfoChildren<VectorAdapterPointer<GpuEvent>>( children, ztime );
} }
ImGui::TreePop();
} }
} }
@ -8533,7 +8534,6 @@ void View::DrawGpuInfoChildren( const V& children, int64_t ztime )
ImGui::NextColumn(); ImGui::NextColumn();
} }
ImGui::EndColumns(); ImGui::EndColumns();
ImGui::TreePop();
} }
} }