summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-19 22:36:13 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-19 22:36:13 +0000
commit7c19e1b34d28d224dfb50f2b942209e3986b9eeb (patch)
treedbcab6321966c7e26d2da0555d93406fe9d40c91 /src
parent3a22bb3d5bf3f69f33a56e7a3af04e995a9be09a (diff)
efl/evas_cache: copied images should be considered loaded.
Whenever we copy an image, making it write-able (evas_object_image_data_get(o, 1)) or just start painting a pristine buffer (evas_object_image_size_set(o, w, h)), we must mark the image as loaded to avoid trying to load it (and failing, marking the whole thing as EVAS_LOAD_ERROR_GENERIC). SVN revision: 81409
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/cache/evas_cache_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/cache/evas_cache_image.c b/src/lib/evas/cache/evas_cache_image.c
index b399f1a009..83d8370f7b 100644
--- a/src/lib/evas/cache/evas_cache_image.c
+++ b/src/lib/evas/cache/evas_cache_image.c
@@ -877,6 +877,7 @@ evas_cache_image_copied_data(Evas_Cache_Image *cache,
877 return NULL; 877 return NULL;
878 } 878 }
879 im->references = 1; 879 im->references = 1;
880 im->flags.loaded = EINA_TRUE;
880 if (cache->func.debug) cache->func.debug("copied-data", im); 881 if (cache->func.debug) cache->func.debug("copied-data", im);
881 return im; 882 return im;
882} 883}