summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_generic/evas_engine.c
diff options
context:
space:
mode:
authorDongyeon Kim <dy5.kim@samsung.com>2015-03-02 16:24:50 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-03-02 16:29:22 +0900
commit753b2b6e78186f8fa2fcb1d643ac2990a5b7b4eb (patch)
treeca76136446ccf07c10a8e4cba5154459059cc34f /src/modules/evas/engines/gl_generic/evas_engine.c
parent80b21a7d3f6960e07345f7ec96877995a4e10905 (diff)
Evas GL: remove evgl_init in gl_get_pixels_set
Summary: gl_get_pixels_set is called in evas_object_image_render even when evas gl is not used. As gl_get_pixels_set does not actually call evas gl functions, we can safely remove evgl_init macro here. Reviewers: raster, cedric, jpeg, Hermet Subscribers: cedric, mer.kim, wonsik Differential Revision: https://phab.enlightenment.org/D2063 Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Diffstat (limited to 'src/modules/evas/engines/gl_generic/evas_engine.c')
-rw-r--r--src/modules/evas/engines/gl_generic/evas_engine.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c
index ee7e9be675..81361beb7d 100644
--- a/src/modules/evas/engines/gl_generic/evas_engine.c
+++ b/src/modules/evas/engines/gl_generic/evas_engine.c
@@ -1332,7 +1332,6 @@ eng_gl_get_pixels_set(void *data, void *get_pixels, void *get_pixels_data, void
1332{ 1332{
1333 Render_Engine_GL_Generic *re = data; 1333 Render_Engine_GL_Generic *re = data;
1334 1334
1335 EVGLINIT(data, );
1336 re->func.get_pixels = get_pixels; 1335 re->func.get_pixels = get_pixels;
1337 re->func.get_pixels_data = get_pixels_data; 1336 re->func.get_pixels_data = get_pixels_data;
1338 re->func.obj = (Evas_Object*)obj; 1337 re->func.obj = (Evas_Object*)obj;