renderer-egl: Ignore alpha channel in shader

pull/12/head
Andri Yngvason 2022-07-02 10:39:18 +00:00
parent 5dfac14981
commit 589679f851
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ static const char *fragment_shader_src =
"uniform sampler2D u_tex;\n"
"varying vec2 v_texture;\n"
"void main() {\n"
" gl_FragColor = texture2D(u_tex, v_texture);\n"
" vec4 colour = texture2D(u_tex, v_texture);\n"
" gl_FragColor = vec4(colour.rgb, 1.0);\n"
"}\n";
static const char *fragment_shader_ext_src =