summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2013-08-12 17:45:11 -0700
committerGraham Linden <graham@lindenlab.com>2013-08-12 17:45:11 -0700
commite586f0325f23363e0223162f4643c7c4c1dfe4a4 (patch)
tree51733dc707421571346152e928a04f810d24474e /indra/newview/app_settings/shaders
parenta43a762c0ddf3ecac2056b36d0ede1f99e71231e (diff)
NORSPEC-342 tweak shader to work on mac og glsl
Diffstat (limited to 'indra/newview/app_settings/shaders')
-rwxr-xr-xindra/newview/app_settings/shaders/class1/deferred/alphaF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl b/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl
index f35ff25dcb..d1abebf84c 100755
--- a/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl
@@ -531,7 +531,7 @@ void main()
vec4 diff = texture2D(diffuseMap,vary_texcoord0.xy);
#endif
-#if FOR_IMPOSTOR
+#ifdef FOR_IMPOSTOR
vec4 color;
color.rgb = diff.rgb;
color.a = diff.a;