forked from enlightenment/efl
evas: Do not preload data if data is cached.
Summary: Summary : If data is cached, need not to reload data. Test Plan: Local tests Reviewers: jpeg Reviewed By: jpeg Subscribers: eunue, spacegrapher, cedric, wonsik, jiin.moon Differential Revision: https://phab.enlightenment.org/D3418
This commit is contained in:
parent
ce21e513d5
commit
a9df72f611
|
@ -1268,7 +1268,7 @@ evas_cache_image_preload_data(Image_Entry *im, const Eo *target,
|
|||
{
|
||||
RGBA_Image *img = (RGBA_Image *)im;
|
||||
|
||||
if ((im->flags.loaded) && (img->image.data))
|
||||
if (((im->flags.loaded) && (img->image.data)) || im->flags.cached)
|
||||
{
|
||||
evas_object_inform_call_image_preloaded((Evas_Object*)target);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue