mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Don't display invalid thread in failure dialog.
This commit is contained in:
parent
06f83bbdef
commit
d80dc82b96
@ -633,9 +633,12 @@ bool View::Draw()
|
||||
ImGui::SameLine();
|
||||
ImGui::Text( "%s:%i", s_instance->m_worker.GetString( srcloc.file ), srcloc.line );
|
||||
}
|
||||
if( data.thread != 0 )
|
||||
{
|
||||
TextFocused( "Thread:", s_instance->m_worker.GetThreadString( data.thread ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(0x%" PRIX64 ")", data.thread );
|
||||
}
|
||||
ImGui::Separator();
|
||||
if( ImGui::Button( "I understand" ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user