diff --git a/src/frontend/debug_panel.cpp b/src/frontend/debug_panel.cpp index 834851aec..649399a6e 100644 --- a/src/frontend/debug_panel.cpp +++ b/src/frontend/debug_panel.cpp @@ -79,7 +79,7 @@ std::shared_ptr create_debug_panel( static int drawCallsMaxOld = drawCallsMax; static float drawCallsAvgLong = drawCalls; - const float AVG_ALPHA = 0.01; + static float AVG_ALPHA = 0.01; static size_t lastTotalDownload = 0; static size_t lastTotalUpload = 0;