summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_egl/evas_engine.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-01-06 12:11:53 -0500
committerChris Michael <cpmichael@osg.samsung.com>2016-01-06 12:11:53 -0500
commita957f5a57f57b02eb2fe7a40fe9a91232a1c59ce (patch)
tree33873863715ef1c69961c868542f4c220dd6890b /src/modules/evas/engines/wayland_egl/evas_engine.c
parent9154fbb0e0167d7a004892bc83a5bebb687284e0 (diff)
evas-wayland-egl: Remove unused variables and unused function
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index 0d6ad0db78..44968b733c 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -964,12 +964,11 @@ _native_cb_free(void *data, void *image)
964} 964}
965 965
966static int 966static int
967_native_cb_yinvert(void *data, void *image) 967_native_cb_yinvert(void *data EINA_UNUSED, void *image)
968{ 968{
969 Render_Engine *re = data;
970 Evas_GL_Image *im = image; 969 Evas_GL_Image *im = image;
971 Native *n = im->native.data; 970 Native *n = im->native.data;
972 int yinvert = 0, val; 971 int yinvert = 0;
973 972
974 // Yinvert callback should only be used for EVAS_NATIVE_SURFACE_EVASGL type now, 973 // Yinvert callback should only be used for EVAS_NATIVE_SURFACE_EVASGL type now,
975 // as yinvert value is not changed for other types. 974 // as yinvert value is not changed for other types.
@@ -1325,18 +1324,6 @@ eng_image_native_set(void *data, void *image, void *native)
1325 return img; 1324 return img;
1326} 1325}
1327 1326
1328static void *
1329eng_image_native_get(void *data EINA_UNUSED, void *image)
1330{
1331 Evas_GL_Image *im = image;
1332 Evas_Native_Surface *n;
1333
1334 if (!im) return NULL;
1335 n = im->native.data;
1336 if (!n) return NULL;
1337 return n;
1338}
1339
1340Eina_Bool 1327Eina_Bool
1341eng_preload_make_current(void *data, void *doit) 1328eng_preload_make_current(void *data, void *doit)
1342{ 1329{