summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_image.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-08-27 07:39:22 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-08-27 21:25:29 +0200
commit43fcca4acdb1189fb7b4022b3be76a6f9d7d0363 (patch)
tree32d8f8de17e11a390f6d2624a564981cf024c05b /src/modules/evas/engines/gl_common/evas_gl_image.c
parent640596e68aca8e2ba5ee076d709707d8e88e527f (diff)
evas cache: code refactoring.
rename to proper internal variables. Differential Revision: https://phab.enlightenment.org/D6911
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_image.c b/src/modules/evas/engines/gl_common/evas_gl_image.c
index c3a33e9b79..d93d296e67 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_image.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_image.c
@@ -204,8 +204,8 @@ evas_gl_common_image_preload_watch(Evas_GL_Image *im)
204 tg = calloc(1, sizeof(Evas_Cache_Target)); 204 tg = calloc(1, sizeof(Evas_Cache_Target));
205 if (tg) 205 if (tg)
206 { 206 {
207 tg->simple_cb = preload_done; 207 tg->preloaded_cb = preload_done;
208 tg->simple_data = im; 208 tg->preloaded_data = im;
209 im->im->cache_entry.targets = (Evas_Cache_Target *) 209 im->im->cache_entry.targets = (Evas_Cache_Target *)
210 eina_inlist_append(EINA_INLIST_GET(im->im->cache_entry.targets), 210 eina_inlist_append(EINA_INLIST_GET(im->im->cache_entry.targets),
211 EINA_INLIST_GET(tg)); 211 EINA_INLIST_GET(tg));
@@ -221,7 +221,7 @@ evas_gl_common_image_preload_unwatch(Evas_GL_Image *im)
221 if (!im->im) return; 221 if (!im->im) return;
222 EINA_INLIST_FOREACH_SAFE(im->im->cache_entry.targets, l2, tg) 222 EINA_INLIST_FOREACH_SAFE(im->im->cache_entry.targets, l2, tg)
223 { 223 {
224 if ((tg->simple_cb != preload_done) || (tg->simple_data != im)) 224 if ((tg->preloaded_cb != preload_done) || (tg->preloaded_data != im))
225 continue; 225 continue;
226 tg->delete_me = EINA_TRUE; 226 tg->delete_me = EINA_TRUE;
227 break; 227 break;