should finally work hopefully...

This commit is contained in:
Shredder
2026-05-05 01:05:57 +05:00
parent 9c46d7094c
commit 9cd91b1508
3 changed files with 9 additions and 3 deletions

View File

@@ -1064,7 +1064,9 @@ std::string LevelRenderer::gatherStats1() {
//
std::string LevelRenderer::gatherStats2() {
return "E: " + std::to_string(renderedEntities) + "/" + std::to_string(totalEntities) + ". B: " + std::to_string(culledEntities) + ", I: " + std::to_string(((totalEntities - culledEntities) - renderedEntities));
std::stringstream ss;
ss << "E: "<< renderedEntities << "/" << totalEntities << ". B: " << culledEntities << ", I: " << (totalEntities - culledEntities) - renderedEntities <<"\n";
return ss.str();
}
//
// int[] toRender = new int[50000];