update debug panel

This commit is contained in:
MihailRis 2026-11-01 01:38:44 +03:00
parent d4deb34722
commit c4a0b7a992

View file

@ -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;