diff options
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llperfstats.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llperfstats.cpp b/indra/newview/llperfstats.cpp index 2281475d4a..395ac0e788 100644 --- a/indra/newview/llperfstats.cpp +++ b/indra/newview/llperfstats.cpp @@ -175,11 +175,13 @@ namespace LLPerfStats              // RENDER_MESHREPO,              StatType_t::RENDER_IDLE }; +#if 0          static constexpr std::initializer_list<StatType_t> avatarStatsToAvg = {              StatType_t::RENDER_GEOMETRY,               StatType_t::RENDER_SHADOWS,               StatType_t::RENDER_COMBINED,              StatType_t::RENDER_IDLE }; +#endif          if( /*sceneStats[static_cast<size_t>(StatType_t::RENDER_FPSLIMIT)] != 0 ||*/ sceneStats[static_cast<size_t>(StatType_t::RENDER_SLEEP)] != 0 ) @@ -291,7 +293,7 @@ namespace LLPerfStats          sAverageAvatarTime = LLVOAvatar::getAverageGPURenderTime();          sMaxAvatarTime = LLVOAvatar::getMaxGPURenderTime(); -        auto& general = LL::WorkQueue::getInstance("General"); +        auto general = LL::WorkQueue::getInstance("General");          if (general)          {  | 
