mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Sample parents show function, not symbol.
This commit is contained in:
parent
05b639e3b6
commit
5874ac11f7
@ -672,7 +672,7 @@ void View::DrawSampleParents()
|
||||
const auto symName = m_worker.GetString( symbol->name );
|
||||
const char* normalized = m_shortenName != ShortenName::Never ? ShortenZoneName( ShortenName::OnlyNormalize, symName ) : nullptr;
|
||||
ImGui::PushFont( m_bigFont );
|
||||
TextFocused( "Symbol:", normalized ? normalized : symName );
|
||||
TextFocused( "Function:", normalized ? normalized : symName );
|
||||
if( normalized )
|
||||
{
|
||||
ImGui::PopFont();
|
||||
|
Loading…
Reference in New Issue
Block a user