fixes warning on Label Fragment shader

This commit is contained in:
Ricardo Quesada 2013-12-17 10:01:38 -08:00
parent ed1fb1ad34
commit ff106ed070
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ uniform vec2 v_shadowOffset; \n\
void main() \n\
{ \n\
float dist = texture2D(CC_Texture0, v_texCoord).a; \n\
//todo:support for assign offset,but the shadow is limited by renderable area\n\ \n\
//todo:support for assign offset,but the shadow is limited by renderable area \n\
vec2 offset = vec2(-0.0015,-0.0015); \n\
float dist2 = texture2D(CC_Texture0, v_texCoord+offset).a; \n\
//todo:Implementation 'fwidth' for glsl 1.0 \n\