summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2017-03-07 23:07:07 +0100
committerJean Guyomarc'h <jean@guyomarch.bzh>2017-03-08 08:59:59 +0100
commit1c772ddd3ddc1d543ab3f5347993330bad005025 (patch)
treefe22d71e75b805bf967994cd59d1e78a4a75730a
parent85110c7dd9b58b8e991663b4f56b7cb1b31caea7 (diff)
ecore_evas_cocoa: set the render func at initialization
-rw-r--r--src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
index a311628361..04a8b218ba 100644
--- a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
+++ b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
@@ -603,7 +603,7 @@ static Ecore_Evas_Engine_Func _ecore_cocoa_engine_func =
603 NULL, 603 NULL,
604 NULL, 604 NULL,
605 605
606 NULL, // render 606 _ecore_evas_cocoa_render,
607 _ecore_evas_screen_geometry_get, 607 _ecore_evas_screen_geometry_get,
608 NULL, // screen_dpi_get 608 NULL, // screen_dpi_get
609 NULL, 609 NULL,
@@ -719,7 +719,6 @@ ecore_evas_cocoa_new_internal(Ecore_Cocoa_Window *parent EINA_UNUSED, int x, int
719 iface->window_get = _ecore_evas_cocoa_window_get; 719 iface->window_get = _ecore_evas_cocoa_window_get;
720 ee->engine.ifaces = eina_list_append(ee->engine.ifaces, iface); 720 ee->engine.ifaces = eina_list_append(ee->engine.ifaces, iface);
721 721
722 ee->engine.func->fn_render = _ecore_evas_cocoa_render;
723 _ecore_evas_register(ee); 722 _ecore_evas_register(ee);
724 ecore_event_window_register(ee->prop.window, ee, ee->evas, 723 ecore_event_window_register(ee->prop.window, ee, ee->evas,
725 (Ecore_Event_Mouse_Move_Cb)_ecore_evas_mouse_move_process, 724 (Ecore_Event_Mouse_Move_Cb)_ecore_evas_mouse_move_process,