aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerimagelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerimagelist.cpp')
-rw-r--r--linden/indra/newview/llviewerimagelist.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewerimagelist.cpp b/linden/indra/newview/llviewerimagelist.cpp
index a824b29..44c592a 100644
--- a/linden/indra/newview/llviewerimagelist.cpp
+++ b/linden/indra/newview/llviewerimagelist.cpp
@@ -708,6 +708,10 @@ void LLViewerImageList::updateImagesUpdateStats()
708 iter != mImageList.end(); ) 708 iter != mImageList.end(); )
709 { 709 {
710 LLViewerImage* imagep = *iter++; 710 LLViewerImage* imagep = *iter++;
711
712 llassert_always(imagep) ;
713 llassert_always(imagep->getNumRefs() > 0 && imagep->getNumRefs() < 100000) ;
714
711 imagep->resetTextureStats(mForceResetTextureStats); 715 imagep->resetTextureStats(mForceResetTextureStats);
712 } 716 }
713 mUpdateStats = FALSE; 717 mUpdateStats = FALSE;