diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 16:26:42 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 16:26:42 +1000 |
commit | 7f659137622d01326924ec06e50feaf0411fce9e (patch) | |
tree | 92c44afa6ae8676d524926c9efc0054886579655 /source/client/StarClientApplication.cpp | |
parent | 11e00a8dedd8f430f6528d2852169d134c17367a (diff) |
Use more portable encoding for Unicode character in debug strfs
Diffstat (limited to 'source/client/StarClientApplication.cpp')
-rw-r--r-- | source/client/StarClientApplication.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/client/StarClientApplication.cpp b/source/client/StarClientApplication.cpp index ebaa211..86dc0c2 100644 --- a/source/client/StarClientApplication.cpp +++ b/source/client/StarClientApplication.cpp @@ -389,23 +389,23 @@ void ClientApplication::render() { auto start = Time::monotonicMicroseconds(); renderer->switchEffectConfig("world"); worldClient->render(m_renderData, TilePainter::BorderTileSize); - LogMap::set("render_world_client", strf(u8"{:05d}s", Time::monotonicMicroseconds() - start)); + LogMap::set("render_world_client", strf(u8"{:05d}\u00b5s", Time::monotonicMicroseconds() - start)); start = Time::monotonicMicroseconds(); m_worldPainter->render(m_renderData, [&]() { worldClient->waitForLighting(); }); - LogMap::set("render_world_painter", strf(u8"{:05d}s", Time::monotonicMicroseconds() - start)); + LogMap::set("render_world_painter", strf(u8"{:05d}\u00b5s", Time::monotonicMicroseconds() - start)); start = Time::monotonicMicroseconds(); m_mainInterface->renderInWorldElements(); - LogMap::set("render_world_elements", strf(u8"{:05d}s", Time::monotonicMicroseconds() - start)); + LogMap::set("render_world_elements", strf(u8"{:05d}\u00b5s", Time::monotonicMicroseconds() - start)); renderer->switchEffectConfig("default"); - LogMap::set("render_world_total", strf(u8"{:05d}s", Time::monotonicMicroseconds() - start)); + LogMap::set("render_world_total", strf(u8"{:05d}\u00b5s", Time::monotonicMicroseconds() - start)); } auto start = Time::monotonicMicroseconds(); m_mainInterface->render(); m_cinematicOverlay->render(); - LogMap::set("render_interface", strf(u8"{:05d}s", Time::monotonicMicroseconds() - start)); + LogMap::set("render_interface", strf(u8"{:05d}\u00b5s", Time::monotonicMicroseconds() - start)); } if (!m_errorScreen->accepted()) |