diff options
author | Rye <rye@lindenlab.com> | 2024-12-10 02:31:05 -0500 |
---|---|---|
committer | Secret <remmy@megapahit.net> | 2024-12-10 05:12:11 -0700 |
commit | 78cb4caae935307e066b5186a48e2a0d72c958dc (patch) | |
tree | 9f6c28fef00cc84480eb809ff1a79a8af387e68d /indra/llrender/llshadermgr.cpp | |
parent | 893a901177f5878e14a54b63dab6db53bdf8015b (diff) |
Fix mesa failing to link shaders due to missing vertex shader outputs
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r-- | indra/llrender/llshadermgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp index 512ef340f9..456ba29b89 100644 --- a/indra/llrender/llshadermgr.cpp +++ b/indra/llrender/llshadermgr.cpp @@ -79,7 +79,7 @@ bool LLShaderMgr::attachShaderFeatures(LLGLSLShader * shader) ////////////////////////////////////// // NOTE order of shader object attaching is VERY IMPORTANT!!! - if (features->calculatesAtmospherics) + if (features->calculatesAtmospherics || features->hasGamma || features->isDeferred) { if (!shader->attachVertexObject("windlight/atmosphericsVarsV.glsl")) { |