Fix for crash when toggling anisotropic filtering.

meow-7.2.2
Dave Parks 2010-10-21 14:24:49 -05:00
parent ad181dcaac
commit b3c06e6a74
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.