summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x')
-rw-r--r--src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x b/src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x
index e5c16b5..d244b37 100644
--- a/src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x
+++ b/src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x
@@ -215,7 +215,9 @@ static const char fragment_glsl[] =
215 " c = vec4(c.a, c.a, c.a, c.a);\n" 215 " c = vec4(c.a, c.a, c.a, c.a);\n"
216 "#endif\n" 216 "#endif\n"
217 "#ifdef SHD_FILTER_GRAYSCALE\n" 217 "#ifdef SHD_FILTER_GRAYSCALE\n"
218 " c.rgb = 0.3 * c.r + 0.59 * c.g + 0.11 * c.b;\n" 218 " c.r = 0.3 * c.r + 0.59 * c.g + 0.11 * c.b;\n"
219 " c.g = c.r;\n"
220 " c.b = c.r;\n"
219 "#endif\n" 221 "#endif\n"
220 "#ifdef SHD_FILTER_INVERSE_COLOR\n" 222 "#ifdef SHD_FILTER_INVERSE_COLOR\n"
221 " c.rgb = c.a - c.rgb;\n" 223 " c.rgb = c.a - c.rgb;\n"