summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/shader/fragment.glsl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/shader/fragment.glsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_common/shader/fragment.glsl b/src/modules/evas/engines/gl_common/shader/fragment.glsl
index b51bbb4d38..09947968e9 100644
--- a/src/modules/evas/engines/gl_common/shader/fragment.glsl
+++ b/src/modules/evas/engines/gl_common/shader/fragment.glsl
@@ -231,7 +231,9 @@ vec4 fetch_pixel(float ox, float oy)
231#endif 231#endif
232 232
233#ifdef SHD_FILTER_GRAYSCALE 233#ifdef SHD_FILTER_GRAYSCALE
234 c.rgb = 0.3 * c.r + 0.59 * c.g + 0.11 * c.b; 234 c.r = 0.3 * c.r + 0.59 * c.g + 0.11 * c.b;
235 c.g = c.r;
236 c.b = c.r;
235#endif 237#endif
236 238
237#ifdef SHD_FILTER_INVERSE_COLOR 239#ifdef SHD_FILTER_INVERSE_COLOR