diff options
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/interface/debugF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/interface/debugF.glsl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/app_settings/shaders/class1/interface/debugF.glsl b/indra/newview/app_settings/shaders/class1/interface/debugF.glsl index 67c6baddbb..cefa429639 100644 --- a/indra/newview/app_settings/shaders/class1/interface/debugF.glsl +++ b/indra/newview/app_settings/shaders/class1/interface/debugF.glsl @@ -23,15 +23,11 @@ * $/LicenseInfo$ */ -#ifdef DEFINE_GL_FRAGCOLOR out vec4 frag_color; -#else -#define frag_color gl_FragColor -#endif uniform vec4 color; void main() { - frag_color = color; + frag_color = max(color, vec4(0)); } |