summaryrefslogtreecommitdiff
path: root/indra/llimage
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-03-07 19:11:59 -0800
committerPtolemy <ptolemy@lindenlab.com>2022-03-07 19:11:59 -0800
commit5b67aa2c58a2c144d9013d4534520741e48596f5 (patch)
treecefe43f35fa97d69156a34e032ded8300a006c0e /indra/llimage
parent2b2a5da0990def249dc028e0bb842843e51feed1 (diff)
SL-16933: Fix texture stat Raw Total always increasing
Diffstat (limited to 'indra/llimage')
-rw-r--r--indra/llimage/llimage.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp
index 5fa19ce9c6..0fa027c9c3 100644
--- a/indra/llimage/llimage.cpp
+++ b/indra/llimage/llimage.cpp
@@ -884,8 +884,6 @@ void LLImageRaw::setDataAndSize(U8 *data, S32 width, S32 height, S8 components)
LLImageBase::setSize(width, height, components) ;
LLImageBase::setDataAndSize(data, width * height * components) ;
-
- sGlobalRawMemory += getDataSize();
}
bool LLImageRaw::resize(U16 width, U16 height, S8 components)