summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-06-05 12:06:42 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-06-05 12:06:42 -0400
commit9a11a2946f4dec334ce1ac449b355ba16eaae23a (patch)
tree501a7976e9dd81245535c858f11e894a4a9de14b /indra/newview
parent3a9c182d7fe3fdacf5923e3b1b51456472e60bb1 (diff)
Faster spin in worker thread when doing I/O and a priority bump needed when fixing priorities.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lltexturefetch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp
index 08f3ca1583..34fb21798f 100644
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -736,7 +736,7 @@ void LLTextureFetchWorker::setDesiredDiscard(S32 discard, S32 size)
if ((prioritize && mState == INIT) || mState == DONE)
{
mState = INIT;
- U32 work_priority = mWorkPriority | LLWorkerThread::PRIORITY_LOW;
+ U32 work_priority = mWorkPriority | LLWorkerThread::PRIORITY_HIGH;
setPriority(work_priority);
}
}