summaryrefslogtreecommitdiff
path: root/indra/llcommon/workqueue.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2021-10-21 21:19:48 +0000
committerDave Parks <davep@lindenlab.com>2021-10-21 21:19:48 +0000
commite774bffb28a71730792931aeb1ed6a46d3cfe67b (patch)
treed82248f9fc0678fb5e6e3c39f5d0011707b0a86c /indra/llcommon/workqueue.cpp
parent6ecf8f2c01dc90c26a8a0ccbd11abc2241debfa9 (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.cpp2
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();