diff options
author | Dave Parks <davep@lindenlab.com> | 2011-09-17 19:02:21 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-09-17 19:02:21 -0500 |
commit | 861b7eba60ab71c5f9c68e46e207d8767d3e07f7 (patch) | |
tree | 5e3aec2c887d4c6b2976095713de2b8792c3f8b7 /indra/llrender/llimagegl.cpp | |
parent | 421e52ff98b67398843482713d754678a7153f50 (diff) |
SH-2243 fix for mac build
Diffstat (limited to 'indra/llrender/llimagegl.cpp')
-rw-r--r-- | indra/llrender/llimagegl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp index 128773df5a..0fb4a7784a 100644 --- a/indra/llrender/llimagegl.cpp +++ b/indra/llrender/llimagegl.cpp @@ -725,7 +725,7 @@ void LLImageGL::setImage(const U8* data_in, BOOL data_hasmips) } else if (!is_compressed) { - if (mAutoGenMips && !LLGLSLShader::sNoFixedFunction) //auto-generating mipmaps is deprecated in GL 3.0 + if (mAutoGenMips) //auto-generating mipmaps is deprecated in GL 3.0 { glTexParameteri(LLTexUnit::getInternalType(mBindTarget), GL_GENERATE_MIPMAP_SGIS, TRUE); stop_glerror(); |