[egl] alert: fix fuzzy font bug and make alerts a little more plesant

This commit is contained in:
Geoffrey McRae
2019-05-23 19:58:12 +10:00
parent ee5d6c7c3e
commit dba9764c5e
5 changed files with 23 additions and 13 deletions

View File

@@ -1,11 +1,12 @@
#version 300 es
in highp vec2 uv;
in highp vec2 sz;
out highp vec4 color;
uniform sampler2D sampler1;
void main()
{
color = texture(sampler1, uv);
color = texelFetch(sampler1, ivec2(uv * sz), 0);
}