diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 1bca30e887..24fdd7cd0c 100755 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -1158,20 +1158,10 @@ void LLViewerFetchedTexture::dump() // ONLY called from LLViewerFetchedTextureList void LLViewerFetchedTexture::destroyTexture() { - // This was commented out as part of MAINT-775 and is a REALLY bad idea! - // It will dump textures off memory once you turn away and you - // will end up with gray textures that need to be fetched again. - // Let's do this smarter and drop textures off memory soon before - // we reach the desired max texture memory! //if(LLImageGL::sGlobalTextureMemoryInBytes < sMaxDesiredTextureMemInBytes)//not ready to release unused memory. //{ // return ; //} - if(LLImageGL::sGlobalTextureMemoryInBytes < sMaxDesiredTextureMemInBytes * 0.95f)//not ready to release unused memory. - { - return ; - } - // if (mNeedsCreateTexture)//return if in the process of generating a new texture. { return ;