diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-01-06 16:20:21 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-01-06 16:20:21 -0700 |
commit | 611d8bdf6155f6c7b440ab745f197d278a74b209 (patch) | |
tree | 15664a307f5a269671c209759e5a64580b386be4 /indra/llimage/llimagedxt.cpp | |
parent | 4de6759cd9d566ab92f0d9efa0c0338359dfa85c (diff) |
use the private pool in the texture pipeline
Diffstat (limited to 'indra/llimage/llimagedxt.cpp')
-rw-r--r-- | indra/llimage/llimagedxt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llimage/llimagedxt.cpp b/indra/llimage/llimagedxt.cpp index 4bd3efddaa..81be09a412 100644 --- a/indra/llimage/llimagedxt.cpp +++ b/indra/llimage/llimagedxt.cpp @@ -429,7 +429,7 @@ bool LLImageDXT::convertToDXR() S32 nmips = calcNumMips(width,height); S32 total_bytes = getDataSize(); U8* olddata = getData(); - U8* newdata = new U8[total_bytes]; + U8* newdata = (U8*)allocateMemory(total_bytes); if (!newdata) { llerrs << "Out of memory in LLImageDXT::convertToDXR()" << llendl; |