summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl2
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/materialF.glsl2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl b/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl
index f570908b45..99988646c0 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl
@@ -184,7 +184,7 @@ void main()
vec3 additive;
vec3 atten;
-#if VERT_ATMOSPHERICS
+#if deifned(VERT_ATMOSPHERICS)
sunlit = getSunlitColor();
amblit = getAmblitColor();
additive = getAdditiveColor();
diff --git a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
index a18eb7b075..e2ebd928ef 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
@@ -285,7 +285,7 @@ void main()
vec3 additive;
vec3 atten;
-#if VERT_ATMOSPHERICS
+#if defined(VERT_ATMOSPHERICS)
sunlit = getSunlitColor();
amblit = getAmblitColor();
additive = getAdditiveColor();