diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-06-01 12:09:40 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-06-01 12:09:40 -0600 |
commit | b100f1d2d43564cab5cebfbace66f14a9b7615df (patch) | |
tree | 49e25e9cbd3d7b0f48b7c7c2eca516dc61661abe /indra/newview/llviewertexturelist.cpp | |
parent | 6bc63bddeede375c6ea03c299b267559a3fca0fb (diff) |
fix for STORM-1298: Crash on startup of Second Life 2.7.1(231307)
Diffstat (limited to 'indra/newview/llviewertexturelist.cpp')
-rw-r--r-- | indra/newview/llviewertexturelist.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp index a50361add2..1ffae7ce83 100644 --- a/indra/newview/llviewertexturelist.cpp +++ b/indra/newview/llviewertexturelist.cpp @@ -88,17 +88,14 @@ LLViewerTextureList::LLViewerTextureList() { } -void LLViewerTextureList::start() -{ +void LLViewerTextureList::init() +{ sRenderThreadID = LLThread::currentID() ; - mInitialized = TRUE ; sNumImages = 0; -} - -void LLViewerTextureList::init() -{ mUpdateStats = TRUE; + mMaxResidentTexMemInMegaBytes = 0; + mMaxTotalTextureMemInMegaBytes = 0 ; // Update how much texture RAM we're allowed to use. updateMaxResidentTexMem(0); // 0 = use current |