How to disable vsync on macOS

Nox picture Nox · Sep 10, 2012 · Viewed 26.1k times · Source

With all my SDL/OpenGL programs, the framerate is stuck at 60fps, so looks like the vsync is enable, but not by me, nor in my code or my settings. so i would like to now if there is a way to disable it, maybe in some deep macOS settings?

Answer

cevaris picture cevaris · Sep 5, 2014

This enabled me to get around ~700 frames per second on my MacBook Pro.

It is not permanent either, perfect for testing/benchmarking.

Source