Anonymous
10/16/2025, 9:52:17 PM
No.106911573
tried writing an fps limiter, got some weird results
picrel is basically the same code but rewritten to have less time calls, the "lastframeend" is just the time since the start of the frame to right before that code, so all the logic and rendering
somehow, the top code is massively out of sync, doing 220FPS when I specify 240, while the code below has less than 1% error
picrel is basically the same code but rewritten to have less time calls, the "lastframeend" is just the time since the start of the frame to right before that code, so all the logic and rendering
somehow, the top code is massively out of sync, doing 220FPS when I specify 240, while the code below has less than 1% error