diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2012-04-27 18:32:42 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2012-04-27 18:32:42 -0600 |
commit | 164de6c1807a5517cbd2ccf7d16b536aa333e64a (patch) | |
tree | f9a3d54df6e9600e1a49513b488aac9adabe3dc2 /indra/newview | |
parent | 3a9aa29a44f8b20ff9aa5c5eeaf7efccc81ae608 (diff) |
fix for a crash on sculpt
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llviewertexture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 1b468a7b96..f27e20c2a2 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -1146,7 +1146,7 @@ S32 LLViewerTexture::getDiscardLevelInAtlas() const void LLViewerTexture::destroyGLTexture() { - if(mGLTexturep.notNull() && mGLTexturep->getHasGLTexture()) + if(mGLTexturep.notNull()) { mGLTexturep->destroyGLTexture() ; mTextureState = DELETED ; |