mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Fix crash when there's no callstack.
This commit is contained in:
parent
59c188a18d
commit
be40ee9dbc
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user