From afb886ea7cb8237b3c0fe9d83f3f0a73982afa32 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Tue, 9 Jan 2024 15:57:20 +0100 Subject: [PATCH] default to reduced fps --- src/main_screen.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main_screen.hpp b/src/main_screen.hpp index 9c5e7f1..d261f30 100644 --- a/src/main_screen.hpp +++ b/src/main_screen.hpp @@ -78,9 +78,12 @@ struct MainScreen final : public Screen { Screen* render(float time_delta, bool&) override; Screen* tick(float time_delta, bool&) override; + // 0 - normal + // 1 - reduced + // 2 - power save + int _fps_perf_mode {1}; // 0 - normal // 1 - power save - int _fps_perf_mode {0}; int _compute_perf_mode {0}; float _render_interval {1.f/60.f};