eek. loop time is wrong when using idlers heavily... leads to jerkybobos. fix!

SVN revision: 39087
This commit is contained in:
Carsten Haitzler 2009-02-19 06:02:35 +00:00
parent 720a9efe71
commit a56a138a2c
1 changed files with 3 additions and 1 deletions

View File

@ -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();
}
}
}