From c6193f7497aad892172ed0b7fecd62376fe621a0 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sun, 24 Aug 2014 19:51:42 +0900 Subject: [PATCH] ecore x vsync - if schedule fails, use fallback timeout to adapt faster --- src/lib/ecore_x/xlib/ecore_x_vsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_x/xlib/ecore_x_vsync.c b/src/lib/ecore_x/xlib/ecore_x_vsync.c index d78973722a..992e81d755 100644 --- a/src/lib/ecore_x/xlib/ecore_x_vsync.c +++ b/src/lib/ecore_x/xlib/ecore_x_vsync.c @@ -226,7 +226,7 @@ _drm_tick_core(void *data EINA_UNUSED, Ecore_Thread *thread) int ret; struct timeval tv; - _drm_tick_schedule(); + if (!_drm_tick_schedule()) _drm_fail_count = 999999; max_fd = 0; FD_ZERO(&rfds); FD_ZERO(&wfds);