Commit Graph
3 Commits
Author SHA1 Message Date
DaemoandGitHub 63fe3088bf Fix inconsistencies with the FPS scheduler (#241)
The current Fps manager will sometime skip the intended delay and start
the next frame immediately, I'm not 100% sure why it happens, but I
rewrote most of it to stay consistent and improved the overall precision
by compensating for OS wake delay after sleep and finishing with a busy
wait
I also changed the behavior of mlx_set_fps_goal to allow zero/negative
values and treat them as uncapped (like most graphics libraries)
2026-08-08 15:45:56 +02:00
kbz_8 f65ac577bc big refactoring ! ci skip 2024-09-02 09:44:42 +02:00
kbz_8 6bbf1e196d begenning the refactor 2024-03-27 23:03:54 +01:00