diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-11-08 12:57:26 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-11-08 12:57:26 -0500 |
commit | a5e63b1dc0ce6c706de46dfea10784838e2d0257 (patch) | |
tree | 15c7d26720fe56bfc6adf796b20af4e3a5e94110 /indra/llrender/llrender.cpp | |
parent | b3ab10923d74e64e543b15d773639a856f9989e7 (diff) | |
parent | 124a59263184391b0b4ec418c532b7a715e9b5a3 (diff) |
Merge
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rw-r--r-- | indra/llrender/llrender.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index 46211f1419..fb2d0bc7a7 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -431,6 +431,9 @@ void LLTexUnit::setTextureFilteringOption(LLTexUnit::eTextureFilterOptions optio if (gGL.mMaxAnisotropy < 1.f) { glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &gGL.mMaxAnisotropy); + + llinfos << "gGL.mMaxAnisotropy: " << gGL.mMaxAnisotropy << llendl ; + gGL.mMaxAnisotropy = llmax(1.f, gGL.mMaxAnisotropy) ; } glTexParameterf(sGLTextureType[mCurrTexType], GL_TEXTURE_MAX_ANISOTROPY_EXT, gGL.mMaxAnisotropy); } |