SH-353 FIXED Crash when toggling anisotropic filtering

Loren Shih 2010-11-04 16:54:40 -04:00
parent 54c8827135
commit 66f8bbbf8c
1 changed files with 12 additions and 0 deletions

View File

@ -368,6 +368,18 @@ void LLImageGL::restoreGL()
}
}
//static
void LLImageGL::dirtyTexOptions()
{
for (std::set<LLImageGL*>::iterator iter = sImageList.begin();
iter != sImageList.end(); iter++)
{
LLImageGL* glimage = *iter;
glimage->mTexOptionsDirty = true;
stop_glerror();
}
}
//----------------------------------------------------------------------------
//for server side use only.