diff options
author | Graham Linden <graham@lindenlab.com> | 2013-06-18 09:10:13 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-06-18 09:10:13 -0700 |
commit | 0dbe156e2317f8e34f2f0cfa65dc89ea30cd18f1 (patch) | |
tree | 89a0852ebfa607f78e7d3db14d9192be184fb391 /indra/newview | |
parent | c1b7c8cacb6f6bcb8f6b9c7f73e059a41fee8c33 (diff) |
NORSPEC-246 make 32F light LUT apply to all OS X machines as several non-nV cards were also failing
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/pipeline.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 4a1b182fd2..48f29b3237 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -1192,10 +1192,9 @@ void LLPipeline::releaseLUTBuffers() { U32 pix_format = GL_R16F; #if LL_DARWIN - if (gGLManager.mIsMobileGF) - { - pix_format = GL_R32F; - } + // Need to work around limited precision with 10.6.8 and older drivers + // + pix_format = GL_R32F; #endif LLImageGL::deleteTextures(LLTexUnit::TT_TEXTURE, pix_format, 0, 1, &mLightFunc); mLightFunc = 0; @@ -1399,10 +1398,9 @@ void LLPipeline::createLUTBuffers() U32 pix_format = GL_R16F; #if LL_DARWIN - if (gGLManager.mIsMobileGF) - { - pix_format = GL_R32F; - } + // Need to work around limited precision with 10.6.8 and older drivers + // + pix_format = GL_R32F; #endif LLImageGL::generateTextures(LLTexUnit::TT_TEXTURE, pix_format, 1, &mLightFunc); gGL.getTexUnit(0)->bindManual(LLTexUnit::TT_TEXTURE, mLightFunc); |