16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 11:09:19 +02:00
This commit is contained in:
milek7
2019-03-18 21:31:26 +01:00
parent f4c53f2579
commit 04f548788f

View File

@@ -143,7 +143,7 @@ void python_screen_viewer::threadfunc()
auto frametime = std::chrono::high_resolution_clock::now() - start_time;
if ((Global.python_minframetime - frametime).count() > 0.0f)
std::this_thread::sleep_for(Global.minframetime - frametime);
std::this_thread::sleep_for(Global.python_minframetime - frametime);
}
}