summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/treeShadowF.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/treeShadowF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/treeShadowF.glsl9
1 files changed, 2 insertions, 7 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/treeShadowF.glsl b/indra/newview/app_settings/shaders/class1/deferred/treeShadowF.glsl
index 802179a401..c850a39d6f 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/treeShadowF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/treeShadowF.glsl
@@ -25,18 +25,14 @@
/*[EXTRA_CODE_HERE]*/
-#ifdef DEFINE_GL_FRAGCOLOR
+
out vec4 frag_color;
-#else
-#define frag_color gl_FragColor
-#endif
uniform float minimum_alpha;
uniform sampler2D diffuseMap;
-VARYING vec4 post_pos;
-VARYING vec2 vary_texcoord0;
+in vec2 vary_texcoord0;
void main()
{
@@ -48,5 +44,4 @@ void main()
}
frag_color = vec4(1,1,1,1);
-
}