diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-02-23 17:53:08 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-02-23 17:53:08 -0700 |
commit | 108980f68c184341e83454bbd5e72a5803b33092 (patch) | |
tree | 4987227c12f6c1387c5d96717df99012c8bea468 /indra/llimage | |
parent | 95838efeaad583df1264d18a1b7605dc1f71a80a (diff) |
add types to LLPrivateMemoryPool
Diffstat (limited to 'indra/llimage')
-rw-r--r-- | indra/llimage/llimage.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp index 706231307d..9298716022 100644 --- a/indra/llimage/llimage.cpp +++ b/indra/llimage/llimage.cpp @@ -106,11 +106,9 @@ LLImageBase::~LLImageBase() //static void LLImageBase::createPrivatePool() { - const U32 MAX_POOL_SIZE = 512 * 1024 * 1024 ; //512 MB - if(!sPrivatePoolp) { - sPrivatePoolp = LLPrivateMemoryPoolManager::getInstance()->newPool(MAX_POOL_SIZE, true) ; + sPrivatePoolp = LLPrivateMemoryPoolManager::getInstance()->newPool(LLPrivateMemoryPool::STATIC_THREADED) ; } } |