efl/legacy/evas/src/modules/engines/gl_common/shader/img_frag.shd

11 lines
177 B
Plaintext

#ifdef GL_ES
precision mediump float;
#endif
uniform sampler2D tex;
varying vec4 col;
varying vec2 tex_c;
void main()
{
gl_FragColor = texture2D(tex, tex_c.xy).bgra * col;
}