From: Joogab Yun Date: Mon, 7 Dec 2015 09:33:35 +0000 (+0900) Subject: [Title] evas : bug fixed image_native_set about EVAS_NATIVE_SURFACE_EVASGL type X-Git-Tag: accepted/tizen/mobile/20151210.030202~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F91%2F53491%2F1;p=platform%2Fupstream%2Fefl.git [Title] evas : bug fixed image_native_set about EVAS_NATIVE_SURFACE_EVASGL type [Problem] [Cause] [Solution] [Team] Graphics Change-Id: Ib9aca2e4956f0744b0cdc8f83e82d3988f5f59a3 --- diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c old mode 100644 new mode 100755 index 334e192..326b5b9 --- a/src/modules/evas/engines/wayland_egl/evas_engine.c +++ b/src/modules/evas/engines/wayland_egl/evas_engine.c @@ -1302,16 +1302,16 @@ eng_image_native_set(void *data, void *image, void *native) return img; } } - } - else if ((ns) && (ns->type == EVAS_NATIVE_SURFACE_EVASGL)) - { - buffer = ns->data.evasgl.surface; - if (img->native.data) + else if (ns->type == EVAS_NATIVE_SURFACE_EVASGL) { - Evas_Native_Surface *ens = img->native.data; - if (ens->data.evasgl.surface == buffer) - return img; - } + buffer = ns->data.evasgl.surface; + if (img->native.data) + { + Evas_Native_Surface *ens = img->native.data; + if (ens->data.evasgl.surface == buffer) + return img; + } + } } if ((!ns) && (!img->native.data)) return img;