Is it possible to get the highest possible frequency for a fullscreen graphics mode using LWJGL? I know I can get a list of all graphics modes with frequencies etc. but on my PC the list includes very high frequencies that my monitor can't really handle.
I can use 60hz as a fallback of course, but that flickers quite a lot. Would it be possible, for instance, to retrieve the frequency of the "desktop" graphics mode and find a mode with a frequency closest to that?
You can get the current display mode:
DisplayMode currentDM = Display.getDisplayMode();
if you want to check the frequency:
currentDM.getFrequency()
Thanks, that's great. For some reason I had the impression that I could use the Display functions only after opening my own window.