aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorPhaeodaria <phaeodaria@xbmc.org>2011-01-24 14:00:53 -0800
committerPhaeodaria <phaeodaria@xbmc.org>2011-01-24 14:00:53 -0800
commit963fefb4f55c73f01c5a5e778d76813f0ac7ec45 (patch)
treef66d1097b5e8aaabc29dd70b32925ef779037676 /system
parentbe61ebdc9e897fe40c6f371111724de79ddee8d5 (diff)
Fixes GLES rendering issues
- fixed multitexturing second texture have not been used - fixed alpha channel of color hasn't been used for font rendering
Diffstat (limited to 'system')
-rw-r--r--system/shaders/guishader_frag_fonts.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/shaders/guishader_frag_fonts.glsl b/system/shaders/guishader_frag_fonts.glsl
index 24e356a303..150f33ec18 100644
--- a/system/shaders/guishader_frag_fonts.glsl
+++ b/system/shaders/guishader_frag_fonts.glsl
@@ -30,5 +30,5 @@ void main ()
gl_FragColor.r = m_colour.r;
gl_FragColor.g = m_colour.g;
gl_FragColor.b = m_colour.b;
- gl_FragColor.a = texture2D(m_samp0, m_cord0.xy).a;
+ gl_FragColor.a = m_colour.a * texture2D(m_samp0, m_cord0.xy).a;
}