From 2b9943d6f2a02423f555d46e8100a68483f26244 Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Tue, 26 Feb 2019 15:07:33 -0800 Subject: Fix up ifdefs to make OSX shader compiler happy. --- indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl | 2 +- indra/newview/app_settings/shaders/class1/deferred/materialF.glsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/app_settings/shaders') 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(); -- cgit v1.2.3