diff options
author | Graham Linden <graham@lindenlab.com> | 2018-07-03 23:20:42 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-07-03 23:20:42 +0100 |
commit | a682d91ea1f7c566269fbad40415639b67cee096 (patch) | |
tree | 019521355debe6de2253f6e5aec7ed39d58c091e /indra/newview/app_settings/shaders/class1 | |
parent | cb178672c63e78f478cc987828be575f09f1b4aa (diff) |
Fix deferred stars shader output decl.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/starsF.glsl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/starsF.glsl b/indra/newview/app_settings/shaders/class1/deferred/starsF.glsl index f397a4a151..9260075262 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/starsF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/starsF.glsl @@ -26,7 +26,7 @@ /*[EXTRA_CODE_HERE]*/ #ifdef DEFINE_GL_FRAGCOLOR -out vec4 frag_data[3]; +out vec4 frag_color; #else #define frag_color gl_FragColor #endif @@ -41,6 +41,5 @@ void main() { vec4 col = vertex_color * texture2D(diffuseMap, vary_texcoord0.xy); col.a *= custom_alpha; - frag_color = col; } |