Re: Uneven V-sync

"rtrussell" <[email protected]> Wed, 18 Jan 2017 12:54:25 +0000
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Edition Chamäleon wrote:
> I would understand if I got a multiple of 16,67 ms as fps. ( 17, 33, 50, 83 ) . That would proof, that vsync works and that my gamecode uses to much time. But as I wrote I get lots of values between. Doesn't that proof that v-sync isn't working, or what am I missing here ?

You quoted 'frames per second' figures, so I assumed they were an average measured over more than one frame; in that case you cannot expect to see specific values because the frames may not all be the same length.  If in fact you are measuring the periods of individual frames then I agree you should expect to see multiples of 16.7 milliseconds.

Richard.

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org