Evas image: Remove useless piece of code

Not only is it useless, it is very likely to make the function call
fail (data_get is quite likely to fail with GL).
This commit is contained in:
Jean-Philippe Andre 2015-07-01 14:19:25 +09:00
parent 6ca02cbfe8
commit f4f808f25d
1 changed files with 0 additions and 13 deletions

View File

@ -4201,18 +4201,6 @@ evas_object_image_is_inside(Evas_Object *eo_obj,
}
else
{
void *im;
DATA32 *data = NULL;
int err = 0;
im = ENFN->image_data_get(ENDT, pixels, 0, &data, &err);
if ((!im) || (!data) || (err))
{
ERR("Couldn't get image pixels %p: im=%p, data=%p, err=%d",
pixels, im, data, err);
goto end;
}
idx = evas_object_image_figure_x_fill(eo_obj, obj, o->cur->fill.x, o->cur->fill.w, &idw);
idy = evas_object_image_figure_y_fill(eo_obj, obj, o->cur->fill.y, o->cur->fill.h, &idh);
if (idw < 1) idw = 1;
@ -4468,7 +4456,6 @@ evas_object_image_is_inside(Evas_Object *eo_obj,
}
}
end:
return is_inside;
}