summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorRye <rye@lindenlab.com>2025-02-10 14:10:47 -0500
committerRye <rye@lindenlab.com>2025-02-11 05:04:10 -0500
commitfd94dc0cd0afbca1446945522805dd833d45be7f (patch)
tree8ddbc5f1c72ce80106dca9c77583449ee4e0bb46 /indra/newview/pipeline.cpp
parent0ea0edb5d97453225130fbd261e718fb633cc56e (diff)
Disable old GPU hacks on macos when running against Apple GPU
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index ddfb5a5621..4a4b938152 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -1440,9 +1440,12 @@ void LLPipeline::createLUTBuffers()
U32 pix_format = GL_R16F;
#if LL_DARWIN
- // Need to work around limited precision with 10.6.8 and older drivers
- //
- pix_format = GL_R32F;
+ if(!gGLManager.mIsApple)
+ {
+ // Need to work around limited precision with 10.6.8 and older drivers
+ //
+ pix_format = GL_R32F;
+ }
#endif
LLImageGL::generateTextures(1, &mLightFunc);
gGL.getTexUnit(0)->bindManual(LLTexUnit::TT_TEXTURE, mLightFunc);