mirror of
https://github.com/wolfpld/tracy
synced 2026-02-15 13:42:17 +00:00
Fix crash when there's no callstack.
This commit is contained in:
@@ -4373,7 +4373,7 @@ void View::DrawFindZone()
|
||||
ImGui::PopID();
|
||||
ImGui::SameLine();
|
||||
ImGui::TextColored( ImVec4( 0.5f, 0.5f, 0.5f, 1.0f ), "(%s) %s", RealToString( v->second.zones.size(), true ), TimeToString( v->second.time ) );
|
||||
if( groupBy == FindZone::GroupBy::Callstack )
|
||||
if( groupBy == FindZone::GroupBy::Callstack && v->first != 0 )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
SmallCallstackButton( "callstack", v->first, idx );
|
||||
|
||||
Reference in New Issue
Block a user