summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-02-26 15:07:33 -0800
committerGraham Linden <graham@lindenlab.com>2019-02-26 15:07:33 -0800
commit2b9943d6f2a02423f555d46e8100a68483f26244 (patch)
tree6de033e98d6b63822971ca845baa7d67e92f9832 /indra/newview/app_settings
parent6f820163ce3a42eb90edba6f3907952e7d83517c (diff)
Fix up ifdefs to make OSX shader compiler happy.
Diffstat (limited to 'indra/newview/app_settings')
-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();