diff --git a/Source/Editor/Windows/Profiler/GPU.cs b/Source/Editor/Windows/Profiler/GPU.cs index bc706bbeb..94e827095 100644 --- a/Source/Editor/Windows/Profiler/GPU.cs +++ b/Source/Editor/Windows/Profiler/GPU.cs @@ -91,16 +91,19 @@ namespace FlaxEditor.Windows.Profiler { Title = "Draw Calls", TitleBackgroundColor = headerColor, + FormatValue = FormatCountLong, }, new ColumnDefinition { Title = "Triangles", TitleBackgroundColor = headerColor, + FormatValue = FormatCountLong, }, new ColumnDefinition { Title = "Vertices", TitleBackgroundColor = headerColor, + FormatValue = FormatCountLong, }, }, Parent = layout, @@ -116,6 +119,11 @@ namespace FlaxEditor.Windows.Profiler }; } + private static string FormatCountLong(object x) + { + return ((long)x).ToString("###,###,###"); + } + /// public override void Clear() {