forked from enlightenment/efl
preload_done member is declared only if async preload is enabled
SVN revision: 55626
This commit is contained in:
parent
9064029863
commit
c60b4933c0
|
@ -213,8 +213,10 @@ evas_common_rgba_image_unload(Image_Entry *ie)
|
||||||
im->image.data = NULL;
|
im->image.data = NULL;
|
||||||
ie->allocated.w = 0;
|
ie->allocated.w = 0;
|
||||||
ie->allocated.h = 0;
|
ie->allocated.h = 0;
|
||||||
ie->flags.preload_done = 0;
|
|
||||||
ie->flags.loaded = 0;
|
ie->flags.loaded = 0;
|
||||||
|
#ifdef BUILD_ASYNC_PRELOAD
|
||||||
|
ie->flags.preload_done = 0;
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -224,8 +226,10 @@ evas_common_rgba_image_unload(Image_Entry *ie)
|
||||||
im->image.data = NULL;
|
im->image.data = NULL;
|
||||||
ie->allocated.w = 0;
|
ie->allocated.w = 0;
|
||||||
ie->allocated.h = 0;
|
ie->allocated.h = 0;
|
||||||
ie->flags.preload_done = 0;
|
|
||||||
ie->flags.loaded = 0;
|
ie->flags.loaded = 0;
|
||||||
|
#ifdef BUILD_ASYNC_PRELOAD
|
||||||
|
ie->flags.preload_done = 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Reference in New Issue