diff options
author | Jacek Antonelli | 2008-12-09 22:25:37 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-09 22:25:41 -0600 |
commit | 22b861982f2efd5d16097a012627e73b9fb85834 (patch) | |
tree | 6152a84b92c682e271bdd52d46cd1728454f679a /linden/indra/llrender/llimagegl.cpp | |
parent | Second Life viewer sources 1.22.1-RC (diff) | |
download | meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.zip meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.gz meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.bz2 meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.xz |
Second Life viewer sources 1.22.2-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llrender/llimagegl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llrender/llimagegl.cpp b/linden/indra/llrender/llimagegl.cpp index d9b22c5..a41b931 100644 --- a/linden/indra/llrender/llimagegl.cpp +++ b/linden/indra/llrender/llimagegl.cpp | |||
@@ -154,7 +154,7 @@ void LLImageGL::destroyGL(BOOL save_state) | |||
154 | LLImageGL* glimage = *iter; | 154 | LLImageGL* glimage = *iter; |
155 | if (glimage->mTexName && glimage->mComponents) | 155 | if (glimage->mTexName && glimage->mComponents) |
156 | { | 156 | { |
157 | if (save_state) | 157 | if (save_state && glimage->isInitialized()) |
158 | { | 158 | { |
159 | glimage->mSaveData = new LLImageRaw; | 159 | glimage->mSaveData = new LLImageRaw; |
160 | glimage->readBackRaw(glimage->mCurrentDiscardLevel, glimage->mSaveData, false); | 160 | glimage->readBackRaw(glimage->mCurrentDiscardLevel, glimage->mSaveData, false); |