diff options
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/sunLightF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/sunLightF.glsl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/sunLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/sunLightF.glsl index 78ea15e87a..5ca817aff6 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/sunLightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/sunLightF.glsl @@ -23,13 +23,17 @@ * $/LicenseInfo$ */ - - //class 1, no shadow, no SSAO, should never be called #extension GL_ARB_texture_rectangle : enable +#ifdef DEFINE_GL_FRAGCOLOR +out vec4 frag_color; +#else +#define frag_color gl_FragColor +#endif + void main() { - gl_FragColor = vec4(0,0,0,0); + frag_color = vec4(0,0,0,0); } |