Commits

Anonymous committed 1e725b7

SH-353 FIXED Crash when toggling anisotropic filtering

Comments (0)

Files changed (1)

indra/llrender/llimagegl.cpp

 	}
 }
 
+//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.