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"";