mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Explain it makes no sense to run server with admin rights.
This commit is contained in:
parent
59f7870345
commit
97c38077cc
@ -590,6 +590,17 @@ static void DrawContents()
|
||||
}
|
||||
}
|
||||
}
|
||||
if( s_isElevated )
|
||||
{
|
||||
ImGui::Separator();
|
||||
ImGui::TextColored( ImVec4( 1, 0.25f, 0.25f, 1 ), ICON_FA_TRIANGLE_EXCLAMATION " Profiler has elevated privileges! " ICON_FA_TRIANGLE_EXCLAMATION );
|
||||
ImGui::PushFont( s_smallFont );
|
||||
ImGui::TextColored( ImVec4( 1, 0.25f, 0.25f, 1 ), "You are running the profiler interface with admin privileges. This is" );
|
||||
ImGui::TextColored( ImVec4( 1, 0.25f, 0.25f, 1 ), "most likely a mistake, as there is no reason to do so. Instead, you" );
|
||||
ImGui::TextColored( ImVec4( 1, 0.25f, 0.25f, 1 ), "probably wanted to run the client (the application you are profiling)" );
|
||||
ImGui::TextColored( ImVec4( 1, 0.25f, 0.25f, 1 ), "with elevated privileges." );
|
||||
ImGui::PopFont();
|
||||
}
|
||||
ImGui::Separator();
|
||||
ImGui::TextUnformatted( "Client address" );
|
||||
bool connectClicked = false;
|
||||
|
Loading…
Reference in New Issue
Block a user