mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-22 02:19:44 +00:00
update debug panel
This commit is contained in:
parent
d4deb34722
commit
c4a0b7a992
1 changed files with 2 additions and 1 deletions
|
|
@ -158,7 +158,8 @@ std::shared_ptr<UINode> create_debug_panel(
|
||||||
verticesCount = std::max<int>(verticesCount, MeshStats::vertices);
|
verticesCount = std::max<int>(verticesCount, MeshStats::vertices);
|
||||||
if (frame % 4 == 0) {
|
if (frame % 4 == 0) {
|
||||||
verticesCountString =
|
verticesCountString =
|
||||||
L"vertices: " + std::to_wstring(verticesCount);
|
L"vertices: " + std::to_wstring(verticesCount) + L" (" +
|
||||||
|
util::str2wstr_utf8(util::format_count(verticesCount)) + L")";
|
||||||
}
|
}
|
||||||
frame++;
|
frame++;
|
||||||
MeshStats::vertices = 0;
|
MeshStats::vertices = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue