forked from enlightenment/efl
evas - image unload - fix unload to only unload imgs needing it
need_unload seems to have been done wrong. using preload not need_unload. no idea why it checked/cleared preload instead of need_unload.
This commit is contained in:
parent
65ebf496fd
commit
5b1e3b3a89
|
@ -408,8 +408,8 @@ evas_common_rgba_pending_unloads_cleanup(void)
|
||||||
EAPI void
|
EAPI void
|
||||||
evas_common_rgba_pending_unloads_remove(Image_Entry *ie)
|
evas_common_rgba_pending_unloads_remove(Image_Entry *ie)
|
||||||
{
|
{
|
||||||
if (!ie->preload) return;
|
if (!ie->need_unload) return;
|
||||||
ie->preload = 0;
|
ie->need_unload = 0;
|
||||||
pending_unloads = eina_list_remove(pending_unloads, ie);
|
pending_unloads = eina_list_remove(pending_unloads, ie);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue