[client] added missing lg-fonts.c to the repo

This commit is contained in:
Geoffrey McRae
2018-11-20 22:34:01 +11:00
parent ab98c87e7c
commit 1beeac545d
2 changed files with 41 additions and 14 deletions

View File

@@ -188,20 +188,16 @@ uniform sampler2D sampler1;\
void main()\
{\
highp vec4 tmp = texture(sampler1, uv);\
if (tmp.a == 0.0) \
{ \
color.r = 0.0;\
color.g = 0.0;\
color.b = 1.0;\
color.a = 0.5;\
} \
else \
{ \
color.r = tmp.b;\
color.g = tmp.g;\
color.b = tmp.r;\
color.a = tmp.a;\
} \
color.r = tmp.b; \
color.g = tmp.g; \
color.b = tmp.r; \
color.a = tmp.a; \
if (color.a == 0.0) \
{\
color.a = 0.5; \
color.r = 0.0; \
color.g = 0.0; \
}\
}\
";