summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexturelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewertexturelist.cpp')
-rw-r--r--indra/newview/llviewertexturelist.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp
index d9ff931575..a50361add2 100644
--- a/indra/newview/llviewertexturelist.cpp
+++ b/indra/newview/llviewertexturelist.cpp
@@ -88,15 +88,16 @@ LLViewerTextureList::LLViewerTextureList()
{
}
-void LLViewerTextureList::init()
+void LLViewerTextureList::start()
{
sRenderThreadID = LLThread::currentID() ;
-
+
mInitialized = TRUE ;
sNumImages = 0;
- mMaxResidentTexMemInMegaBytes = 0;
- mMaxTotalTextureMemInMegaBytes = 0 ;
-
+}
+
+void LLViewerTextureList::init()
+{
mUpdateStats = TRUE;
// Update how much texture RAM we're allowed to use.
@@ -110,8 +111,8 @@ void LLViewerTextureList::doPreloadImages()
{
LL_DEBUGS("ViewerImages") << "Preloading images..." << LL_ENDL;
- llassert_always(mInitialized) ;
- llassert_always(mImageList.empty()) ;
+ llassert_always(mInitialized) ;
+ llassert_always(mImageList.empty()) ;
llassert_always(mUUIDMap.empty()) ;
// Set the "missing asset" image