swap interval, how to set?
Is there any way to set the swap_interval to control vsync? I would like to disable vsync - but found no way to do this.
No updates on this? The forced vsync makes the library basically unusable, even a simple 2D game has extreme lag with it on.
Any updates here? It would be nice to disable vsync.
Unfortunately we cant really do much about vsync - on web, for example, browsers send animationFrame's as fast as they feel to and there is no control over it
Even if this is not possible on web it would be a very welcome feature for desktop. Having no control over the FPS is currently my biggest gripe with Macroquad and I would love to see something like raylib's SetTargetFPS() or at the very least a way to disable vsync to get the program running as fast as it can.
even on desktop, there is no 100% working way to control the fps. It could always be overwritten in per-app/systemwide driver settings, you never can be sure that any fps request will be respected by any given computer :(
Just for debugging it is usually easy to run the binary without fps restrictions (like .drirc or vblank_mode=0 on linux or some buttons in nvidia control pannel on windows).
even on desktop, there is no 100% working way to control the fps. It could always be overwritten in per-app/systemwide driver settings, you never can be sure that any fps request will be respected by any given computer :(
Just for debugging it is usually easy to run the binary without fps restrictions (like .drirc or vblank_mode=0 on linux or some buttons in nvidia control pannel on windows).
Truly appreciate the quick response tho I would really love to have such a debugging feature without having to edit my program in the nvidia control panel (I'm on Windows). Is it possible to have an easier way? I know this is somewhat silly but it's also a feature that's available in everything else I've used, and even if it's just for the programmer (no guarantee for end users) it would still be very welcome!