diff options
author | Brad Linden <brad@lindenlab.com> | 2023-05-11 12:18:45 -0700 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2023-05-11 12:18:45 -0700 |
commit | 06bdee663433bf5b12eddcbcfcb8785546354c28 (patch) | |
tree | 6ab4a6813bbccca5168291ae03deab1d5c6d144d | |
parent | 3914c4ce16cc84d399c244db66d3713a38cf239c (diff) |
Xcode build fixes for DRTVWR-559
-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) { |