We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6d872 commit 0778ef8Copy full SHA for 0778ef8
1 file changed
profiler/src/profiler/TracyView_Samples.cpp
@@ -1038,7 +1038,8 @@ void View::DrawSampleParents()
1038
{
1039
const auto& frame = frameData->data[f];
1040
1041
- if( m_worker.IsFrameExternal( frame.file, frameData->imageName ) )
+ const auto isExternal = m_worker.IsFrameExternal( frame.file, frameData->imageName );
1042
+ if( isExternal )
1043
1044
if( !m_showExternalFrames )
1045
@@ -1091,6 +1092,10 @@ void View::DrawSampleParents()
1091
1092
1093
TextColoredUnformatted( 0xFF8888FF, txt );
1094
}
1095
+ else if( isExternal )
1096
+ {
1097
+ TextDisabledUnformatted( txt );
1098
+ }
1099
else if( m_vd.shortenName == ShortenName::Never )
1100
1101
ImGui::TextUnformatted( txt );
0 commit comments