diff options
author | Graham Linden <graham@lindenlab.com> | 2019-02-26 15:07:33 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-02-26 15:07:33 -0800 |
commit | 2b9943d6f2a02423f555d46e8100a68483f26244 (patch) | |
tree | 6de033e98d6b63822971ca845baa7d67e92f9832 /indra | |
parent | 6f820163ce3a42eb90edba6f3907952e7d83517c (diff) |
Fix up ifdefs to make OSX shader compiler happy.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl | 2 | ||||
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/materialF.glsl | 2 |
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(); |