Backed out changeset 4bbf5275fe2e (Try to plug the profile icon memory hole) - This should be fixed now
parent
51f8b1ec7b
commit
5bcab38d0a
|
|
@ -131,13 +131,6 @@ void LLGLTexture::setActive()
|
|||
{
|
||||
mTextureState = ACTIVE ;
|
||||
}
|
||||
|
||||
// <FS:Ansariel> Try to plug the profile icon memory hole
|
||||
if (mBoostLevel == BOOST_ICON)
|
||||
{
|
||||
setNoDelete();
|
||||
}
|
||||
// </FS:Ansariel>
|
||||
}
|
||||
|
||||
//set the texture to stay in memory
|
||||
|
|
|
|||
|
|
@ -1294,10 +1294,7 @@ void LLViewerFetchedTexture::setDeletionCandidate()
|
|||
//set the texture inactive
|
||||
void LLViewerFetchedTexture::setInactive()
|
||||
{
|
||||
// <FS:Ansariel> Try to plug the profile icon memory hole
|
||||
//if(mTextureState == ACTIVE && mGLTexturep.notNull() && mGLTexturep->getTexName() && !mGLTexturep->getBoundRecently())
|
||||
if((mTextureState == ACTIVE || (mTextureState == NO_DELETE && mBoostLevel == BOOST_ICON)) && mGLTexturep.notNull() && mGLTexturep->getTexName() && !mGLTexturep->getBoundRecently())
|
||||
// </FS:Ansariel>
|
||||
if(mTextureState == ACTIVE && mGLTexturep.notNull() && mGLTexturep->getTexName() && !mGLTexturep->getBoundRecently())
|
||||
{
|
||||
mTextureState = INACTIVE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue