Closed TylerGlaiel closed 2 days ago
Can you debug it and find out why?
something to do with windows maybe, or the comment that suggests theres a better way to query it
I can confirm that using DXGI instead reports the correct framerate
Fixed!
theres still a little bit of weird rounding here (float refresh rate is 143.960, but actual refresh rate (numerator / denominator) is 143.963
windows shows 3 digits of precision for this
The floating point value has 2 digits of precision for display purposes. If you want the full precision, you should use the numerator and denominator to calculate it.
Windows says my monitor is 143.963hz SDL reports this as 144.0hz