summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolbump.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-04-05 15:28:18 -0600
committerXiaohong Bao <bao@lindenlab.com>2011-04-05 15:28:18 -0600
commite32d1cf7564dd38664781ea7360fa8daa132961c (patch)
tree024950efb6a0a97ef1919f5d180ad59a67897673 /indra/newview/lldrawpoolbump.cpp
parent3c6a09372da395a621fb35db4934af2c7c21e910 (diff)
fix for STORM-973: [crashhunters] crash at LLViewerTextureList::removeImageFromList(LLViewerFetchedTexture *)
Diffstat (limited to 'indra/newview/lldrawpoolbump.cpp')
-rw-r--r--indra/newview/lldrawpoolbump.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolbump.cpp b/indra/newview/lldrawpoolbump.cpp
index 223e4a438c..c987847c66 100644
--- a/indra/newview/lldrawpoolbump.cpp
+++ b/indra/newview/lldrawpoolbump.cpp
@@ -853,6 +853,11 @@ void LLBumpImageList::destroyGL()
void LLBumpImageList::restoreGL()
{
+ if(!gTextureList.isInitialized())
+ {
+ return ;
+ }
+
LLStandardBumpmap::restoreGL();
// Images will be recreated as they are needed.
}