summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaBlendV.glsl
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-01-22 09:24:25 -0800
committerRider Linden <rider@lindenlab.com>2019-01-22 09:24:25 -0800
commit3aed2a4b64bb4bca325d6709607bf8d446bd0ba4 (patch)
treec22b01949cb93092e46d3345ca1e539828694dbe /indra/newview/app_settings/shaders/class1/deferred/shadowAlphaBlendV.glsl
parentf42ac5b94e384c789de0b2c4e865b087589a940e (diff)
parent296dbb9fd08c3c6e25c4f174159b77d470456a8f (diff)
Merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/shadowAlphaBlendV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/shadowAlphaBlendV.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaBlendV.glsl b/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaBlendV.glsl
index 11411a605c..f45c343066 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaBlendV.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaBlendV.glsl
@@ -31,7 +31,7 @@ ATTRIBUTE vec3 position;
ATTRIBUTE vec4 diffuse_color;
ATTRIBUTE vec2 texcoord0;
-#if !DEPTH_CLAMP
+#if !defined(DEPTH_CLAMP)
VARYING float pos_zd2;
#endif
@@ -52,7 +52,7 @@ void main()
pos_w = pos.w;
-#if !DEPTH_CLAMP
+#if !defined(DEPTH_CLAMP)
pos_zd2 = pos.z * 0.5;
gl_Position = vec4(pos.x, pos.y, pos.w*0.5, pos.w);