diff options
author | Graham Linden <graham@lindenlab.com> | 2019-05-08 09:30:39 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-05-08 09:30:39 -0700 |
commit | 470d1595cc1c1c7c7ec3ab192e68622751423354 (patch) | |
tree | 079cd01cc1b247973f2e5fd589389cc8e0013b13 /indra/llimage | |
parent | 06097302f4ad8786913e77514d5d60678da3160d (diff) | |
parent | 34322f8f37380df868703051230f2a4109602b3f (diff) |
Merge viewer-release
Diffstat (limited to 'indra/llimage')
-rw-r--r-- | indra/llimage/llimage.cpp | 2 | ||||
-rw-r--r-- | indra/llimage/llimageworker.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp index 1a4dd2ca99..680fbf548f 100644 --- a/indra/llimage/llimage.cpp +++ b/indra/llimage/llimage.cpp @@ -594,7 +594,7 @@ void LLImage::initClass(bool use_new_byte_range, S32 minimal_reverse_byte_range_ { sUseNewByteRange = use_new_byte_range; sMinimalReverseByteRangePercent = minimal_reverse_byte_range_percent; - sMutex = new LLMutex(NULL); + sMutex = new LLMutex(); } //static diff --git a/indra/llimage/llimageworker.cpp b/indra/llimage/llimageworker.cpp index 4875fe7001..5f42fba866 100644 --- a/indra/llimage/llimageworker.cpp +++ b/indra/llimage/llimageworker.cpp @@ -35,7 +35,7 @@ LLImageDecodeThread::LLImageDecodeThread(bool threaded) : LLQueuedThread("imagedecode", threaded) { - mCreationMutex = new LLMutex(getAPRPool()); + mCreationMutex = new LLMutex(); } //virtual |