summaryrefslogtreecommitdiff
path: root/indra/llrender/llimagegl.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-07-19 15:03:05 -0700
committerRichard Linden <none@none>2013-07-19 15:03:05 -0700
commite40065f82c797eab41006a448c838f4f1089a2e8 (patch)
tree7abaeeae98304308bc3812531f682de3cda4bb72 /indra/llrender/llimagegl.cpp
parenteb8d552df76540e7b0b533f0c10c5faa541299a4 (diff)
BUILDFIX: #include and dependency cleanup
Diffstat (limited to 'indra/llrender/llimagegl.cpp')
-rw-r--r--indra/llrender/llimagegl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index 01ed946d40..1d4be1f53c 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -51,9 +51,9 @@ U32 wpo2(U32 i);
U32 LLImageGL::sUniqueCount = 0;
U32 LLImageGL::sBindCount = 0;
-LLUnit<S32, LLUnits::Bytes> LLImageGL::sGlobalTextureMemory = 0;
-LLUnit<S32, LLUnits::Bytes> LLImageGL::sBoundTextureMemory = 0;
-LLUnit<S32, LLUnits::Bytes> LLImageGL::sCurBoundTextureMemory = 0;
+LLUnit<S32, LLUnits::Bytes> LLImageGL::sGlobalTextureMemory(0);
+LLUnit<S32, LLUnits::Bytes> LLImageGL::sBoundTextureMemory(0);
+LLUnit<S32, LLUnits::Bytes> LLImageGL::sCurBoundTextureMemory(0);
S32 LLImageGL::sCount = 0;
LLImageGL::dead_texturelist_t LLImageGL::sDeadTextureList[LLTexUnit::TT_NONE];
U32 LLImageGL::sCurTexName = 1;
@@ -249,7 +249,7 @@ void LLImageGL::updateStats(F32 current_time)
LLFastTimer t(FTM_IMAGE_UPDATE_STATS);
sLastFrameTime = current_time;
sBoundTextureMemory = sCurBoundTextureMemory;
- sCurBoundTextureMemory = 0;
+ sCurBoundTextureMemory = LLUnits::Bytes::fromValue(0);
}
//static