mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 20:59:19 +02:00
fix
This commit is contained in:
@@ -143,7 +143,7 @@ void python_screen_viewer::threadfunc()
|
|||||||
auto frametime = std::chrono::high_resolution_clock::now() - start_time;
|
auto frametime = std::chrono::high_resolution_clock::now() - start_time;
|
||||||
|
|
||||||
if ((Global.python_minframetime - frametime).count() > 0.0f)
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user