InitializeTimerResolution fix slowdown on Windows 11, drop obsolete workaround for Windows NT

  • NtSetTimerResolution was called in a loop. That might have been necessary for Windows NT, definitely not since Windows 2000.
  • Windows 11 ignores the requested timer resolution and sets it to 15.6ms if another window is maximized in the foreground. Now we do what other media player type apps do, tell Windows to ignore the request to ignore the requested timer resolution. Not kidding.

Resolves OpenRGBDevelopers/OpenRGBEffectsPlugin#214 (closed)

Edited by Peter Berendi

Merge request reports

Loading