summaryrefslogtreecommitdiff
path: root/src/lib/ector/gl/ector_renderer_gl_base.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-01 18:06:28 +0000
committerTom Hacohen <tom@stosb.com>2016-03-03 09:58:08 +0000
commitf21ade6123b9053fca8d1632644c48525a99d6e0 (patch)
treec5eb0445f471d21365a7a5a7b0ec7d279c11b398 /src/lib/ector/gl/ector_renderer_gl_base.c
parent3faf3f3fc68a839f06b311c35ba020cb25e7c9c4 (diff)
Automatic migration to Eo4.
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
Diffstat (limited to 'src/lib/ector/gl/ector_renderer_gl_base.c')
-rw-r--r--src/lib/ector/gl/ector_renderer_gl_base.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/ector/gl/ector_renderer_gl_base.c b/src/lib/ector/gl/ector_renderer_gl_base.c
index a659d3dfb6..75829cf576 100644
--- a/src/lib/ector/gl/ector_renderer_gl_base.c
+++ b/src/lib/ector/gl/ector_renderer_gl_base.c
@@ -31,8 +31,7 @@ _ector_renderer_gl_base_ector_renderer_generic_base_draw(Eo *obj EINA_UNUSED,
31{ 31{
32 Eina_Bool r; 32 Eina_Bool r;
33 33
34 eo_do(pd->base->surface, 34 r = ector_gl_surface_state_define(pd->base->surface, op, clips);
35 r = ector_gl_surface_state_define(op, clips));
36 35
37 return r; 36 return r;
38} 37}
@@ -40,7 +39,7 @@ _ector_renderer_gl_base_ector_renderer_generic_base_draw(Eo *obj EINA_UNUSED,
40static Eo_Base * 39static Eo_Base *
41_ector_renderer_gl_base_eo_base_constructor(Eo *obj, Ector_Renderer_GL_Base_Data *pd) 40_ector_renderer_gl_base_eo_base_constructor(Eo *obj, Ector_Renderer_GL_Base_Data *pd)
42{ 41{
43 eo_do_super(obj, ECTOR_RENDERER_GL_BASE_CLASS, obj = eo_constructor()); 42 obj = eo_constructor(eo_super(obj, ECTOR_RENDERER_GL_BASE_CLASS));
44 if (!obj) return NULL; 43 if (!obj) return NULL;
45 44
46 pd->base = eo_data_xref(obj, ECTOR_RENDERER_GENERIC_BASE_CLASS, obj); 45 pd->base = eo_data_xref(obj, ECTOR_RENDERER_GENERIC_BASE_CLASS, obj);