forked from enlightenment/efl
evas: Do not unload pixels from RGBA_Image if cache refcount > 0
SVN revision: 81184
This commit is contained in:
parent
274c9159c9
commit
bfe46f54ff
|
@ -259,6 +259,7 @@ evas_common_rgba_image_unload(Image_Entry *ie)
|
|||
if (!ie->flags.loaded) return;
|
||||
if ((!ie->info.module) && (!ie->data1)) return;
|
||||
if (!ie->file) return;
|
||||
if (ie->references > 0) return;
|
||||
|
||||
ie->flags.loaded = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue