summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/filters/evas_filter_blur.c5
-rw-r--r--src/lib/evas/filters/evas_filter_parser.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/evas/filters/evas_filter_blur.c b/src/lib/evas/filters/evas_filter_blur.c
index bd294de626..5db74a723b 100644
--- a/src/lib/evas/filters/evas_filter_blur.c
+++ b/src/lib/evas/filters/evas_filter_blur.c
@@ -33,8 +33,9 @@ _smallest_pow2_larger_than(int val)
33# define DIVIDE_BY_DIAMETER(val) ((val) / diameter) 33# define DIVIDE_BY_DIAMETER(val) ((val) / diameter)
34#endif 34#endif
35 35
36// Switch from Pascal Triangle based gaussian to Sine 36// Switch from Pascal Triangle based gaussian to Sine.
37#define MAX_GAUSSIAN_RADIUS 5 37// Gaussian is now disabled (because gauss and sine are too different)
38#define MAX_GAUSSIAN_RADIUS 0
38#if MAX_GAUSSIAN_RADIUS > 12 39#if MAX_GAUSSIAN_RADIUS > 12
39# error Impossible value 40# error Impossible value
40#endif 41#endif
diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c
index f30095f539..04298b3024 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -1046,7 +1046,7 @@ _mask_instruction_prepare(Evas_Filter_Instruction *instr)
1046 EINA_SAFETY_ON_FALSE_RETURN_VAL(!strcasecmp(instr->name, "mask"), EINA_FALSE); 1046 EINA_SAFETY_ON_FALSE_RETURN_VAL(!strcasecmp(instr->name, "mask"), EINA_FALSE);
1047 1047
1048 /* 1048 /*
1049 * mask [mask=]BUFFER [input=BUFFER] [output=BUFFER] [color=COLOR] 1049 * mask [mask=]BUFFER [src=BUFFER] [dst=BUFFER] [color=COLOR]
1050 */ 1050 */
1051 1051
1052 instr->type = EVAS_FILTER_MODE_MASK; 1052 instr->type = EVAS_FILTER_MODE_MASK;