summaryrefslogtreecommitdiff
path: root/indra/llrender/llimagegl.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-10-21 14:24:49 -0500
committerDave Parks <davep@lindenlab.com>2010-10-21 14:24:49 -0500
commitb3c06e6a740b10fe99cc95eab4f026f5db59cf92 (patch)
tree470a39c3c78de208ce923cd18b84a2bdd6b375ee /indra/llrender/llimagegl.cpp
parentad181dcaac1fe6fd54082240a9892f40462f8724 (diff)
Fix for crash when toggling anisotropic filtering.
Diffstat (limited to 'indra/llrender/llimagegl.cpp')
-rw-r--r--indra/llrender/llimagegl.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index 9d0fc53d29..65940cb067 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.