From ce655acf72c5d5be62497dbaac41af7ef49be411 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Mon, 6 Jan 2025 13:43:28 +0100 Subject: added fps counter --- game/hud/HudSubScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/hud/HudSubScene.cpp') 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(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; } -- cgit v1.2.3