Patch by: Paulo Alcantara <pcacjr@profusion.mobi>
SVN revision: 82481
return NULL;
}
im->references = 1;
+ im->flags.loaded = EINA_TRUE;
if (cache->func.debug) cache->func.debug("data", im);
return im;
}
error = cache->func.size_set(im2, im, w, h);
if (error != 0) goto on_error;
im2->references = 1;
+ im2->flags.loaded = EINA_TRUE;
evas_cache_image_drop(im);
if (cache->func.debug) cache->func.debug("size_set", im2);
return im2;
im->w = w;
im->h = h;
im->flags.alpha = alpha;
- im->flags.loaded = 1;
if (cache->func.data(im, w, h, image_data, alpha, cspace) != 0)
{
_evas_cache_image_entry_delete(cache, im);
return NULL;
}
im->references = 1;
+ im->flags.loaded = EINA_TRUE;
if (cache->func.debug) cache->func.debug("data", im);
return im;
}
if (error != 0) goto on_error;
im2->references = 1;
+ im2->flags.loaded = EINA_TRUE;
evas_cache2_image_close(im);
return im2;