summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.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/llrender/llshadermgr.cpp
parent0ea0edb5d97453225130fbd261e718fb633cc56e (diff)
Disable old GPU hacks on macos when running against Apple GPU
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r--indra/llrender/llshadermgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 25d8ccd4b3..b1e2114156 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -450,7 +450,7 @@ GLuint LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shader_lev
// endsure work-around for missing GLSL funcs gets propogated to feature shader files (e.g. srgbF.glsl)
#if LL_DARWIN
- if (defines)
+ if (!gGLManager.mIsApple && defines)
{
(*defines)["OLD_SELECT"] = "1";
}