forked from enlightenment/efl
evas image: fix preloading compatibility broken.
Well... Logically, we don't need to request preload again, If image is loaded already. But somewhow it broke the enlightenment pager and I need to revert the previous behavior here. Whatever image is loaded or not, here image requests preload again, unless it is already on preloading. This was introduced by babacf41b7269a257065a41a2a4ec7763bada25f. This fixes enlightenment pager bg non visible issue.
This commit is contained in:
parent
7d7ce5dee5
commit
57fd66c4b5
|
@ -92,7 +92,7 @@ _image_preload_internal(Eo *eo_obj, Evas_Image_Data *o, Eina_Bool cancel)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (o->preload == EVAS_IMAGE_PRELOAD_NONE)
|
||||
if (o->preload != EVAS_IMAGE_PRELOADING)
|
||||
{
|
||||
o->preload = EVAS_IMAGE_PRELOADING;
|
||||
ENFN->image_data_preload_request(ENC, o->engine_data, eo_obj);
|
||||
|
|
Loading…
Reference in New Issue