From: raster Date: Thu, 19 Feb 2009 06:02:35 +0000 (+0000) Subject: eek. loop time is wrong when using idlers heavily... leads to jerkybobos. fix! X-Git-Tag: build/2012-07-04.173327~2734 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9526055cbd79db9a6d6d816274965d0ca561d301;p=profile%2Fivi%2Fecore.git eek. loop time is wrong when using idlers heavily... leads to jerkybobos. fix! git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@39087 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c index 6883d1f..025819a 100644 --- a/src/lib/ecore/ecore_main.c +++ b/src/lib/ecore/ecore_main.c @@ -480,7 +480,7 @@ _ecore_main_loop_iterate_internal(int once_only) double now; now = ecore_loop_time_get(); - while (_ecore_timer_call(now)); + while (_ecore_timer_call(now)); _ecore_timer_cleanup(); } /* any timers re-added as a result of these are allowed to go */ @@ -567,6 +567,7 @@ _ecore_main_loop_iterate_internal(int once_only) if (next_time >= 0) goto start_loop; if (do_quit) break; } + _ecore_loop_time = ecore_time_get(); } } /* timers */ @@ -592,6 +593,7 @@ _ecore_main_loop_iterate_internal(int once_only) if (next_time < 0) goto start_loop; if (do_quit) break; } + _ecore_loop_time = ecore_time_get(); } } }