diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag.shd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag.shd new file mode 100644 index 0000000..222d635 --- /dev/null +++ b/libraries/evas/src/modules/engines/gl_common/shader/img_nomul_frag.shd | |||
@@ -0,0 +1,13 @@ | |||
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 vec2 tex_c; | ||
10 | void main() | ||
11 | { | ||
12 | gl_FragColor = texture2D(tex, tex_c.xy).bgra; | ||
13 | } | ||