forked from enlightenment/efl
Evas filters: in transform, dst must be specified
Since the transform operation is (for now) a very simple tool, it only works when src and dst have the same colorspace. This commit forces users to specify dst, since "input" and "output" have different colorspaces.
This commit is contained in:
parent
62f0ea1d34
commit
c6943bb32d
|
@ -1123,9 +1123,9 @@ _transform_instruction_prepare(Evas_Filter_Instruction *instr)
|
|||
|
||||
instr->type = EVAS_FILTER_MODE_TRANSFORM;
|
||||
instr->pad.update = _transform_padding_update;
|
||||
_instruction_param_seq_add(instr, "dst", VT_BUFFER, NULL);
|
||||
_instruction_param_seq_add(instr, "op", VT_STRING, "vflip");
|
||||
_instruction_param_seq_add(instr, "src", VT_BUFFER, "input");
|
||||
_instruction_param_seq_add(instr, "dst", VT_BUFFER, "output");
|
||||
//_instruction_param_name_add(instr, "ox", VT_INT, 0);
|
||||
_instruction_param_name_add(instr, "oy", VT_INT, 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue