summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-10-26 13:01:56 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-10-26 13:01:56 -0700
commitabd41c93ea5a883718b57d1c4a461defde7f7d99 (patch)
tree895b3b1ba81150a93acec63c7412267ac80253af
parente4066474da6c97271e3cd33172cce40f52056e9b (diff)
evas: image_native_set actually receive a context, not an output.
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index 4455aeb..3da159f 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -1001,7 +1001,6 @@ eng_image_native_shutdown(void *engine EINA_UNUSED, Evas_Native_Surface_Type typ
1001static void * 1001static void *
1002eng_image_native_set(void *engine, void *image, void *native) 1002eng_image_native_set(void *engine, void *image, void *native)
1003{ 1003{
1004 Render_Engine *re;
1005 Outbuf *ob; 1004 Outbuf *ob;
1006 Native *n; 1005 Native *n;
1007 Evas_Native_Surface *ns; 1006 Evas_Native_Surface *ns;
@@ -1011,8 +1010,8 @@ eng_image_native_set(void *engine, void *image, void *native)
1011 void *buffer = NULL; 1010 void *buffer = NULL;
1012 void *wlid, *wl_buf = NULL; 1011 void *wlid, *wl_buf = NULL;
1013 1012
1014 if (!(re = (Render_Engine *)engine)) return NULL; 1013 ob = gl_generic_any_output_get(engine);
1015 if (!(ob = eng_get_ob(re))) return NULL; 1014 if (!ob) return NULL;
1016 1015
1017 ns = native; 1016 ns = native;
1018 1017