diff options
| author | Merov Linden <merov@lindenlab.com> | 2012-04-02 19:05:32 -0700 |
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2012-04-02 19:05:32 -0700 |
| commit | df09fd8e8b5b73330e4942c2cb218a216d7aca99 (patch) | |
| tree | 7b945cde73ff1cc666c1f2b03d522452d2102eea /indra/llimage/llimage.cpp | |
| parent | 792943c211f90738e245b11e128525190ff1b107 (diff) | |
SH-3060 : Preliminary implementation of the new byte range computation, implement setting to turn it on or off
Diffstat (limited to 'indra/llimage/llimage.cpp')
| -rw-r--r-- | indra/llimage/llimage.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp index 937655a22d..7f95441075 100644 --- a/indra/llimage/llimage.cpp +++ b/indra/llimage/llimage.cpp @@ -48,11 +48,13 @@ //static std::string LLImage::sLastErrorMessage; LLMutex* LLImage::sMutex = NULL; +bool LLImage::sUseNewByteRange = false; LLPrivateMemoryPool* LLImageBase::sPrivatePoolp = NULL ; //static -void LLImage::initClass() +void LLImage::initClass(bool use_new_byte_range) { + sUseNewByteRange = use_new_byte_range; sMutex = new LLMutex(NULL); LLImageBase::createPrivatePool() ; |
