Resolution.refreshRate

On my iMac resolution.refreshRate always return 0 for any resolution while on my Windows test machine it only does it for a couple ones.

Is this a bug or is there some reason why it can’t get the refresh rate for some resolutions?

From memory, the relevant core graphics API under MacOS generally returns 0 as the refresh rate for LCD screens. However, if you vsync to these modes it behaves as if the screen has a 60Hz refresh.

Thanks for the explanation.