summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2012-07-16 15:11:23 -0400
committerprep <prep@lindenlab.com>2012-07-16 15:11:23 -0400
commit02a182867c4a760e535ad87d21465ffc1499aa25 (patch)
tree9770f51fb1ed445a422990511d3d283cdf30ef1d /indra/newview
parent91281917137b15bec6b18af93f4efdcfadcc5cb9 (diff)
Path-814: Corrected shader fragment compilation error.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/app_settings/shaders/class1/interface/pathfindingF.glsl6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/interface/pathfindingF.glsl b/indra/newview/app_settings/shaders/class1/interface/pathfindingF.glsl
index 40605bee78..7379360e17 100644
--- a/indra/newview/app_settings/shaders/class1/interface/pathfindingF.glsl
+++ b/indra/newview/app_settings/shaders/class1/interface/pathfindingF.glsl
@@ -24,12 +24,14 @@
*/
#ifdef DEFINE_GL_FRAGCOLOR
-out vec4 gl_FragColor;
+out vec4 frag_color;
+#else
+#define frag_color gl_FragColor
#endif
VARYING vec4 vertex_color;
void main()
{
- gl_FragColor = vertex_color;
+ frag_color = vertex_color;
}