summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-12-10 20:18:34 +0800
committerErik Kundiman <erik@megapahit.org>2024-12-10 20:18:34 +0800
commitb8dded3614bbc8326d420c4e660f58e683f2ac4d (patch)
treeb725e1dd530752c9a4d56f8aad1fa42b48917256 /indra/llrender/llshadermgr.cpp
parent91cc1af25286c9a1a55bd99949a4d02cb19c2a3e (diff)
parent78cb4caae935307e066b5186a48e2a0d72c958dc (diff)
Merge branch 'main' into 2024.09-ExtraFPS
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 47f1032c34..7c14a53c78 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"))
{