summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolbump.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-05-11 20:07:36 -0400
committerOz Linden <oz@lindenlab.com>2011-05-11 20:07:36 -0400
commitba568b894516fad5377591e39756442dea5d5b19 (patch)
treee8a77cf63f460c475a5ac1aaaec1fe554f150926 /indra/newview/lldrawpoolbump.cpp
parent5ffde6fa6dd94bc717971ccece3e22bec974ca60 (diff)
parent2a61d908e790bfd554f3f0968b320a6e2f4d42c4 (diff)
y
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.
}