From 84462643acd81e3d4c614a183998a1326373717c Mon Sep 17 00:00:00 2001 From: alexei-zebra Date: Tue, 23 Dec 2025 22:05:17 +0300 Subject: [PATCH] update: move back avg consts --- src/constants.hpp | 3 --- src/frontend/debug_panel.cpp | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants.hpp b/src/constants.hpp index 323106a12..1ae27a545 100644 --- a/src/constants.hpp +++ b/src/constants.hpp @@ -73,6 +73,3 @@ inline const std::string SKELETONS_FOLDER = "skeletons"; inline const std::string POST_EFFECTS_FOLDER = "shaders/effects"; inline const std::string FONT_DEFAULT = "normal"; - -inline const float AVG_ALPHA = 0.1; -inline const float AVG_BETA = 0.01; \ No newline at end of file diff --git a/src/frontend/debug_panel.cpp b/src/frontend/debug_panel.cpp index e278c8d78..16432a1fb 100644 --- a/src/frontend/debug_panel.cpp +++ b/src/frontend/debug_panel.cpp @@ -83,6 +83,9 @@ std::shared_ptr create_debug_panel( static int drawCallsMaxOld = drawCallsMax; static float drawCallsAvgLong = drawCalls; + inline const float AVG_ALPHA = 0.1; + inline const float AVG_BETA = 0.01; + static size_t lastTotalDownload = 0; static size_t lastTotalUpload = 0; static std::wstring netSpeedString = L"";