Merge pull request #242 from benvanik/patch-3

Fixing unbalanced tree pop in grouped GPU zones.
This commit is contained in:
Bartosz Taudul 2021-07-17 20:03:41 +02:00 committed by GitHub
commit 4f3195153a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();
} }
} }