aboutsummaryrefslogtreecommitdiff
path: root/game/hud/HudSubScene.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-06 13:43:28 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-06 13:43:28 +0100
commitce655acf72c5d5be62497dbaac41af7ef49be411 (patch)
treebbcd5ba7a6e4fd3c659cfb422da3783d77288408 /game/hud/HudSubScene.cpp
parenta216cfc457cdde754c5673e9423d00147a2f1574 (diff)
added fps counter
Diffstat (limited to 'game/hud/HudSubScene.cpp')
-rw-r--r--game/hud/HudSubScene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/hud/HudSubScene.cpp b/game/hud/HudSubScene.cpp
index dd36d1c..4995624 100644
--- a/game/hud/HudSubScene.cpp
+++ b/game/hud/HudSubScene.cpp
@@ -40,5 +40,5 @@ void HudSubScene::create(Scene & scn){
hud_fps.add_component<Text>(size_fps, FONT,Text::Data{
.world_space = false,
.text_color = Color::GREEN,
- }, TOP_LEFT+FONTOFFSET+FPS_OFFSET + vec2{FPS_LENGTH * FPS_CHAR_WIDTH/2,0}, FPS);
+ }, TOP_LEFT+FONTOFFSET+FPS_OFFSET + vec2{FPS_LENGTH * FPS_CHAR_WIDTH/2,0}, FPS).active = false;
}