How do I retrieve a monitor's default refresh rate?
If I query for the current mode's refresh rate I may be returned either 0 or 1, both indicating a default refresh rate. But I found no way to retrieve what this default is. I know it can be overridden via the DxDiag interface - still, not even such interface will tell what's the original default.
Can I safely assume a value of 60 Hz? Apparently not. Some people have their monitors set to 59 Hertz when they activate some resolutions.
A manual count of the vertical blank intervals over a period of 1 second isn't always a viable option for me.
Thanks in advance.
How to detect a monitor's Default refresh frequency?
Started by Nautilus, Today, 06:09 PM
1 reply to this topic
#1
Posted Today, 06:09 PM
-Nautilus
(readin' this? you ought to get out more)
#2
Posted Today, 08:30 PM
I googled around a bit, but no one seems to know a solid way to get the current video mode in DXGI...the closest I found was this StackOverflow question which recommends using EnumDisplaySettings, then trying to find a matching DXGI mode.
reedbeta.com - developer blog, OpenGL demos, and other projects
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












