diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-11-04 16:54:40 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-11-04 16:54:40 -0400 |
commit | 66f8bbbf8c212eca038ed58edab2b54e01b537f9 (patch) | |
tree | 8a3d43369990ac7fc62038f22d262c7c59a72f10 /indra | |
parent | 54c882713591000383704ccd3c5866a226918eef (diff) |
SH-353 FIXED Crash when toggling anisotropic filtering
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llrender/llimagegl.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp index 9d037f2565..72dd283bc7 100644 --- a/indra/llrender/llimagegl.cpp +++ b/indra/llrender/llimagegl.cpp @@ -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. |