summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index 2a79e6b7f1..a843f26589 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -1031,6 +1031,17 @@ _ecore_evas_new_internal(const char *device, int x, int y, int w, int h, Eina_Bo
1031 ee->engine.func = (Ecore_Evas_Engine_Func *)&_ecore_evas_drm_engine_func; 1031 ee->engine.func = (Ecore_Evas_Engine_Func *)&_ecore_evas_drm_engine_func;
1032 ee->engine.data = edata; 1032 ee->engine.data = edata;
1033 1033
1034 if (!ecore_drm2_vblank_supported(edata->dev))
1035 {
1036 ee->engine.func->fn_animator_register = NULL;
1037 ee->engine.func->fn_animator_unregister = NULL;
1038 }
1039 else
1040 {
1041 ee->engine.func->fn_animator_register = _drm_animator_register;
1042 ee->engine.func->fn_animator_unregister = _drm_animator_unregister;
1043 }
1044
1034 /* FIXME */ 1045 /* FIXME */
1035 /* if (edata->device) ee->name = strdup(edata->device); */ 1046 /* if (edata->device) ee->name = strdup(edata->device); */
1036 1047