diff options
author | Dave Parks <davep@lindenlab.com> | 2021-10-21 21:19:48 +0000 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2021-10-21 21:19:48 +0000 |
commit | e774bffb28a71730792931aeb1ed6a46d3cfe67b (patch) | |
tree | d82248f9fc0678fb5e6e3c39f5d0011707b0a86c /indra/llcommon/workqueue.cpp | |
parent | 6ecf8f2c01dc90c26a8a0ccbd11abc2241debfa9 (diff) |
SL-16202 Fix for textures appearing black or flashing white due to optimization bugs.
Diffstat (limited to 'indra/llcommon/workqueue.cpp')
-rw-r--r-- | indra/llcommon/workqueue.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/workqueue.cpp b/indra/llcommon/workqueue.cpp index ffc9a97dc0..b32357e832 100644 --- a/indra/llcommon/workqueue.cpp +++ b/indra/llcommon/workqueue.cpp @@ -54,6 +54,7 @@ void LL::WorkQueue::runUntilClose() bool LL::WorkQueue::runPending() { + LL_PROFILE_ZONE_SCOPED; for (Work work; mQueue.tryPop(work); ) { callWork(work); @@ -110,6 +111,7 @@ void LL::WorkQueue::callWork(const Queue::DataTuple& work) void LL::WorkQueue::callWork(const Work& work) { + LL_PROFILE_ZONE_SCOPED; try { work(); |