diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-25 17:53:48 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-25 17:53:48 +0200 |
commit | 11006f4456a57f2fb8df7431dcb22deeb3797c1f (patch) | |
tree | 540bbe9fde50ffd5bbcc166a631e605dae8f1627 /pixel-client/src/profiler.rs | |
parent | 5bf5a200ada9ba03ca2a12c1503318a97166d7c7 (diff) | |
download | hurrycurry-11006f4456a57f2fb8df7431dcb22deeb3797c1f.tar hurrycurry-11006f4456a57f2fb8df7431dcb22deeb3797c1f.tar.bz2 hurrycurry-11006f4456a57f2fb8df7431dcb22deeb3797c1f.tar.zst |
Show sprite count
Diffstat (limited to 'pixel-client/src/profiler.rs')
-rw-r--r-- | pixel-client/src/profiler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixel-client/src/profiler.rs b/pixel-client/src/profiler.rs index 8d3f4689..98bf8196 100644 --- a/pixel-client/src/profiler.rs +++ b/pixel-client/src/profiler.rs @@ -45,7 +45,7 @@ impl ProfilerOverlay { } let size = renderer.draw_text( Vec2::ZERO, - &format!("FPS: {:.0}", self.fps), + &format!("FPS: {:.0}\nSprites: {}", self.fps, renderer.num_sprites()), 0.3, Some([255, 150, 255, 255]), ); |