summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-09-24 03:09:32 -0500
committerDave Parks <davep@lindenlab.com>2011-09-24 03:09:32 -0500
commit183fe0d14c48ebeb174567304cea197e7ea443fa (patch)
treeee233f301b9e7ce7b03d1c83af93aec9dfc1fd71 /indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
parent2b604adf7bd20bbd78fce38ed44e2eba1ff1cdc8 (diff)
SH-2244 Fix for shaders not compiling on pre-GL-3.0 ATI drivers
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
index 93842e818f..cc0f4e5b6b 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
@@ -26,7 +26,7 @@
#extension GL_ARB_texture_rectangle : enable
-#ifndef gl_FragColor
+#ifdef DEFINE_GL_FRAGCOLOR
out vec4 gl_FragColor;
#endif