diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-08-19 12:42:35 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-08-19 12:42:35 +0200 |
commit | 54883f543f45e94810ee48108474efad7f0ba2d6 (patch) | |
tree | 8df581a550aaa8b938f7f02b7516224c2495b442 /facetracknoir | |
parent | fa56fc34e44bbb2f35342a7a3f4de13d56e7aa8f (diff) |
Don't assume or use 1ms interval, on Windows it gets rounded to 15.6 ms anyway
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/tracker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp index 7eedfea1..7292076b 100644 --- a/facetracknoir/tracker.cpp +++ b/facetracknoir/tracker.cpp @@ -203,7 +203,7 @@ void Tracker::run() { }
//for lower cpu load
- msleep(1);
+ msleep(16);
}
for (int i = 0; i < 6; i++)
|