preload_done member is declared only if async preload is enabled

SVN revision: 55627
This commit is contained in:
Vincent Torri 2010-12-18 10:09:58 +00:00
parent c60b4933c0
commit bb9de107ad
2 changed files with 4 additions and 0 deletions

View File

@ -104,7 +104,9 @@ evas_common_rgba_image_colorspace_set(Image_Entry* ie_dst, int cspace)
{
ie_dst->allocated.w = 0;
ie_dst->allocated.h = 0;
#ifdef BUILD_ASYNC_PRELOAD
ie_dst->flags.preload_done = 0;
#endif
ie_dst->flags.loaded = 0;
dst->image.data = NULL;
dst->image.no_free = 0;

View File

@ -294,7 +294,9 @@ _evas_common_rgba_image_surface_delete(Image_Entry *ie)
im->image.data = NULL;
ie->allocated.w = 0;
ie->allocated.h = 0;
#ifdef BUILD_ASYNC_PRELOAD
ie->flags.preload_done = 0;
#endif
ie->flags.loaded = 0;
evas_common_rgba_image_scalecache_dirty(&im->cache_entry);
}