preload_done member is declared only if async preload is enabled

SVN revision: 55626
This commit is contained in:
Vincent Torri 2010-12-18 09:59:50 +00:00
parent 9064029863
commit c60b4933c0
1 changed files with 6 additions and 2 deletions

View File

@ -213,8 +213,10 @@ evas_common_rgba_image_unload(Image_Entry *ie)
im->image.data = NULL;
ie->allocated.w = 0;
ie->allocated.h = 0;
ie->flags.preload_done = 0;
ie->flags.loaded = 0;
#ifdef BUILD_ASYNC_PRELOAD
ie->flags.preload_done = 0;
#endif
return;
}
#endif
@ -224,8 +226,10 @@ evas_common_rgba_image_unload(Image_Entry *ie)
im->image.data = NULL;
ie->allocated.w = 0;
ie->allocated.h = 0;
ie->flags.preload_done = 0;
ie->flags.loaded = 0;
#ifdef BUILD_ASYNC_PRELOAD
ie->flags.preload_done = 0;
#endif
}
static int