emoon/minifb

Check if the next frame is due

GoldenretriverYT opened this issue · 1 comments

Unlike with mfb_wait_sync, I do not want the thread to stall until the next frame is due but I want to execute code in between, if there is still time to do so. I would appreciate a way do to so, maybe even with an argument to check the future (like mfb_frame_is_due_in(nanoseconds)

If there already is a way to due so, please tell me. If there isnt, this is a feature suggestion (: