I am writing a game in OpenGL and I have encountered a problem.
I cannot find a way to get all possible screen resolutions.
SDL is not much of help unfortunately as SDL_ListModes tells me that "all resolutions are supported" which is pretty much useless :/
I have been looking for the xrandr code, and I found it a bit overwhelming :/
Can anyone help me find a solution, or at least provide some hints?