mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +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::SameLine();
|
||||||
ImGui::Text( "%s:%i", s_instance->m_worker.GetString( srcloc.file ), srcloc.line );
|
ImGui::Text( "%s:%i", s_instance->m_worker.GetString( srcloc.file ), srcloc.line );
|
||||||
}
|
}
|
||||||
TextFocused( "Thread:", s_instance->m_worker.GetThreadString( data.thread ) );
|
if( data.thread != 0 )
|
||||||
ImGui::SameLine();
|
{
|
||||||
ImGui::TextDisabled( "(0x%" PRIX64 ")", data.thread );
|
TextFocused( "Thread:", s_instance->m_worker.GetThreadString( data.thread ) );
|
||||||
|
ImGui::SameLine();
|
||||||
|
ImGui::TextDisabled( "(0x%" PRIX64 ")", data.thread );
|
||||||
|
}
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
if( ImGui::Button( "I understand" ) )
|
if( ImGui::Button( "I understand" ) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user