mirror of
https://github.com/FirestormViewer/phoenix-firestorm.git
synced 2026-08-14 00:48:30 +00:00
Follow up; const -> constexpr
This commit is contained in:
@@ -1169,8 +1169,8 @@ void LLOutfitListBase::onIdleRefreshList()
|
||||
// <FS:PP> Scale MAX_TIME with FPS to avoid overloading the viewer with function calls at low frame rates
|
||||
// const F64 MAX_TIME = 0.05f;
|
||||
F64 MAX_TIME = 0.05f;
|
||||
const F64 min_time = 0.001f;
|
||||
const F64 threshold_fps = 30.0;
|
||||
constexpr F64 min_time = 0.001f;
|
||||
constexpr F64 threshold_fps = 30.0;
|
||||
const auto current_fps = LLTrace::get_frame_recording().getPeriodMedianPerSec(LLStatViewer::FPS, 1);
|
||||
if (current_fps < threshold_fps)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user