diff options
| author | Rye <rye@lindenlab.com> | 2025-02-10 14:10:47 -0500 | 
|---|---|---|
| committer | Rye <rye@lindenlab.com> | 2025-02-11 05:04:10 -0500 | 
| commit | fd94dc0cd0afbca1446945522805dd833d45be7f (patch) | |
| tree | 8ddbc5f1c72ce80106dca9c77583449ee4e0bb46 /indra/llrender/llglslshader.cpp | |
| parent | 0ea0edb5d97453225130fbd261e718fb633cc56e (diff) | |
Disable old GPU hacks on macos when running against Apple GPU
Diffstat (limited to 'indra/llrender/llglslshader.cpp')
| -rw-r--r-- | indra/llrender/llglslshader.cpp | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp index 0841c0e943..66f38c9281 100644 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -421,8 +421,11 @@ bool LLGLSLShader::createShader()      llassert_always(!mShaderFiles.empty());  #if LL_DARWIN -    // work-around missing mix(vec3,vec3,bvec3) -    mDefines["OLD_SELECT"] = "1"; +    if(!gGLManager.mIsApple) +    { +        // work-around missing mix(vec3,vec3,bvec3) +        mDefines["OLD_SELECT"] = "1"; +    }  #endif      mShaderHash = hash();  | 
