Handmade Hero»Forums»Code
6 posts
None
Caveat about GPU Vsync
Not sure if this has changed, but you cant actually guarantee from application that vsync will be on. Users control panel settings can (will?) override settings that your application requested.

More about: https://www.opengl.org/wiki/Swap_Interval
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Caveat about GPU Vsync
Correct - there is no actual way on Windows to _guarantee_ vsync, as far as I know anyway. You can only request vsync, and maybe you get it, maybe you don't.

We haven't gotten there yet :) We're not even asking for vsync yet.

- Casey