diff options
Diffstat (limited to 'libraries/evas/src/modules/engines/gl_common/shader/font_frag.shd')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_common/shader/font_frag.shd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/font_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/font_frag.shd new file mode 100644 index 0000000..a8eb9b7 --- /dev/null +++ b/libraries/evas/src/modules/engines/gl_common/shader/font_frag.shd | |||
@@ -0,0 +1,14 @@ | |||
1 | #ifdef GL_ES | ||
2 | #ifdef GL_FRAGMENT_PRECISION_HIGH | ||
3 | precision highp float; | ||
4 | #else | ||
5 | precision mediump float; | ||
6 | #endif | ||
7 | #endif | ||
8 | uniform sampler2D tex; | ||
9 | varying vec4 col; | ||
10 | varying vec2 tex_c; | ||
11 | void main() | ||
12 | { | ||
13 | gl_FragColor = texture2D(tex, tex_c.xy).aaaa * col; | ||
14 | } | ||