forked from enlightenment/efl
evas: remove float comparison warnings for evas_filter_mixin
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
f427050b61
commit
2ae4c978f9
|
@ -506,9 +506,11 @@ _efl_canvas_filter_internal_efl_gfx_filter_filter_state_set(Eo *eo_obj, Evas_Fil
|
|||
Evas_Object_Protected_Data *obj = pd->obj;
|
||||
|
||||
evas_object_async_block(obj);
|
||||
if ((cur_state != pd->data->state.cur.name) || (cur_val != pd->data->state.cur.value) ||
|
||||
(next_state != pd->data->state.next.name) || (next_val != pd->data->state.next.value) ||
|
||||
(pos != pd->data->state.pos))
|
||||
if ((cur_state != pd->data->state.cur.name) ||
|
||||
(!EINA_DBL_CMP(cur_val, pd->data->state.cur.value)) ||
|
||||
(next_state != pd->data->state.next.name) ||
|
||||
(!EINA_DBL_CMP(next_val, pd->data->state.next.value)) ||
|
||||
(!EINA_DBL_CMP(pos, pd->data->state.pos)))
|
||||
{
|
||||
Evas_Object_Filter_Data *fcow = FCOW_BEGIN(pd);
|
||||
fcow->changed = 1;
|
||||
|
|
Loading…
Reference in New Issue