diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-20 23:08:17 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-20 23:24:18 +0200 |
commit | b3e0d66eeea9f480ba503ea8aaf53b87dec2a5f7 (patch) | |
tree | fd17ec16930ca99fdc59451677c1efefe756b280 /tracker-pt | |
parent | 88e4563455ca183e1b77364b73d5e6173af513d3 (diff) |
compat/timer: backport, update usages
Diffstat (limited to 'tracker-pt')
-rwxr-xr-x | tracker-pt/ftnoir_tracker_pt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index 87e9b2b8..562ffcf1 100755 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -104,7 +104,7 @@ void Tracker_PT::run() while((commands & ABORT) == 0) { - const double dt = time.elapsed() * 1e-9; + const double dt = time.elapsed_seconds(); time.start(); bool new_frame; |