golelorn,
i've seen that (40-50 FPS with SetSyncRate(60,0) ) in the not-too distant past but, IIRC, a reboot fixed it (along with closing other apps that were running). otherwise, i can't replicate what you're experiencing (including variances in your code example - with/without each other, etc.); everything is as expected/documented, EXCEPT that:
Quote: "SetVSync
Description
...
Using this command with mode 1 will override any currently set refresh rate from SetSyncRate, otherwise these two commands would fight each other for control of the frame rate, instead AppGameKit will use the VSync refresh rate which is typically 60 frames per second, but depends on the monitor."
i'm not getting this behavior, either, where SetVSync(1) does't truly
override but does LIMIT to SetSyncRate (where i would expect SetSyncRate to be ignored?). Ie:
SetSyncRate( 30,0 )
SetVSync(1)
...
...will still cap at 30 FPS
SetSyncRate( 60,0 )
SetVSync(1)
...caps at 60FPS (my monitor refresh rate).
SetSyncRate( 0,0 )
SetVSync(1)
...caps at my monitor refresh rate.
Meanwhile:
Quote: "SetSyncRate
Description
...
Using SetSyncRate will automatically turn VSync off
... "
...yes, but only if called
after SetVSync
Finally:
i see drops down to 59.4 with
both SetSyncRate(60,
0) & SetSyncRate(60,
1), with similar frequency, here