diff options
author | Oz Linden <oz@lindenlab.com> | 2011-05-11 20:07:36 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-05-11 20:07:36 -0400 |
commit | ba568b894516fad5377591e39756442dea5d5b19 (patch) | |
tree | e8a77cf63f460c475a5ac1aaaec1fe554f150926 /indra/newview/lldrawpoolbump.cpp | |
parent | 5ffde6fa6dd94bc717971ccece3e22bec974ca60 (diff) | |
parent | 2a61d908e790bfd554f3f0968b320a6e2f4d42c4 (diff) |
y
Diffstat (limited to 'indra/newview/lldrawpoolbump.cpp')
-rw-r--r-- | indra/newview/lldrawpoolbump.cpp | 5 |
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. } |