mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Add warning about memory limit.
This commit is contained in:
parent
56c52b8d8f
commit
2663ce1a4a
@ -868,6 +868,12 @@ static void DrawContents()
|
|||||||
view = std::make_unique<tracy::View>( RunOnMainThread, addr, port, s_fixedWidth, s_smallFont, s_bigFont, SetWindowTitleCallback, SetupScaleCallback, AttentionCallback, s_config );
|
view = std::make_unique<tracy::View>( RunOnMainThread, addr, port, s_fixedWidth, s_smallFont, s_bigFont, SetWindowTitleCallback, SetupScaleCallback, AttentionCallback, s_config );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if( s_config.memoryLimit )
|
||||||
|
{
|
||||||
|
ImGui::SameLine();
|
||||||
|
tracy::TextColoredUnformatted( 0xFF00FFFF, ICON_FA_TRIANGLE_EXCLAMATION );
|
||||||
|
tracy::TooltipIfHovered( "Memory limit is active" );
|
||||||
|
}
|
||||||
ImGui::SameLine( 0, ImGui::GetTextLineHeight() * 2 );
|
ImGui::SameLine( 0, ImGui::GetTextLineHeight() * 2 );
|
||||||
|
|
||||||
#ifndef TRACY_NO_FILESELECTOR
|
#ifndef TRACY_NO_FILESELECTOR
|
||||||
|
Loading…
Reference in New Issue
Block a user