diff options
author | prep <prep@lindenlab.com> | 2012-07-16 15:11:23 -0400 |
---|---|---|
committer | prep <prep@lindenlab.com> | 2012-07-16 15:11:23 -0400 |
commit | 02a182867c4a760e535ad87d21465ffc1499aa25 (patch) | |
tree | 9770f51fb1ed445a422990511d3d283cdf30ef1d /indra/newview | |
parent | 91281917137b15bec6b18af93f4efdcfadcc5cb9 (diff) |
Path-814: Corrected shader fragment compilation error.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/interface/pathfindingF.glsl | 6 |
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; } |