From d8871109d392eb35cf97487976816d61e81c954c Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 25 Aug 2017 10:51:17 -0700 Subject: [PATCH] evas: convert evas backend cache function call to use Engine context. --- src/modules/evas/engines/gl_generic/evas_engine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c index 125528e..e7d73dc 100644 --- a/src/modules/evas/engines/gl_generic/evas_engine.c +++ b/src/modules/evas/engines/gl_generic/evas_engine.c @@ -1344,7 +1344,7 @@ eng_image_cache_flush(void *engine) Evas_Engine_GL_Context *gl_context; int tmp_size; - gl_context = gl_generic_context_get(engine); + gl_context = gl_generic_context_find(engine); if (!gl_context) return; tmp_size = evas_common_image_get_cache(); @@ -1359,7 +1359,7 @@ eng_image_cache_set(void *engine, int bytes) { Evas_Engine_GL_Context *gl_context; - gl_context = gl_generic_context_get(engine); + gl_context = gl_generic_context_find(engine); evas_common_image_set_cache(bytes); evas_common_rgba_image_scalecache_size_set(bytes); -- 2.7.4