mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Don't display unknown frames if there's no callstack frames.
This commit is contained in:
parent
024182b6a0
commit
555203c46a
@ -152,6 +152,8 @@ View::View( FileRead& f, ImFont* fixedWidth, ImFont* smallFont, ImFont* bigFont,
|
|||||||
m_userData.StateShouldBePreserved();
|
m_userData.StateShouldBePreserved();
|
||||||
m_userData.LoadState( m_vd );
|
m_userData.LoadState( m_vd );
|
||||||
m_userData.LoadAnnotations( m_annotations );
|
m_userData.LoadAnnotations( m_annotations );
|
||||||
|
|
||||||
|
if( m_worker.GetCallstackFrameCount() == 0 ) m_showUnknownFrames = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
View::~View()
|
View::~View()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user