• MorphOS Developer
    Piru
    Posts: 575 from 2003/2/24
    From: finland, the l...
    Quote:

    MDW wrote:
    Could someone tell me if I am able to get frequency of a screen refresh (time between each refresh screen)? In age of LCD monitors usually it equals 60Hz but I would like to get the value from system API instead of use ugly hardcode.

    https://sintonen.fi/src/misc/getmodeidrate.c

    It's not 100% accurate due to TotalColorClocks and TotalRows being UWORD (16-bit).
  • »02.08.19 - 11:00
    Profile