From 963fefb4f55c73f01c5a5e778d76813f0ac7ec45 Mon Sep 17 00:00:00 2001 From: Phaeodaria Date: Mon, 24 Jan 2011 14:00:53 -0800 Subject: Fixes GLES rendering issues - fixed multitexturing second texture have not been used - fixed alpha channel of color hasn't been used for font rendering --- system/shaders/guishader_frag_fonts.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') 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; } -- cgit v1.2.3