Follow up; const -> constexpr
parent
1e299cc480
commit
ad47437067
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue