forked from enlightenment/efl
evas/cserve2: Don't set image loaded if we didn't get
pixel data yet. SVN revision: 73998
This commit is contained in:
parent
fb2a822637
commit
0efde61fef
|
@ -783,6 +783,7 @@ evas_cache2_image_load_data(Image_Entry *ie)
|
||||||
if (im->image.data)
|
if (im->image.data)
|
||||||
{
|
{
|
||||||
im->image.no_free = 1;
|
im->image.no_free = 1;
|
||||||
|
ie->flags.loaded = EINA_TRUE;
|
||||||
error = EVAS_LOAD_ERROR_NONE;
|
error = EVAS_LOAD_ERROR_NONE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -368,10 +368,7 @@ _loaded_handle(Image_Entry *ie, Msg_Loaded *msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ie->data2)
|
if (ie->data2)
|
||||||
{
|
|
||||||
ie->flags.loaded = EINA_TRUE;
|
|
||||||
ie->flags.alpha_sparse = msg->alpha_sparse;
|
ie->flags.alpha_sparse = msg->alpha_sparse;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue