|
Video mode set failed: Couldn't find matching GLX visual
This isn't related to the problem and solution in this post, which has to do with the depth buffer setting, which isn't a video mode issue (even though it does throw up a video mode set failed error).However, to answer your question, the way things currently work is a list of candidate modes is stored in that file, and then the video card is queried to see if it can support each mode. Modes that are unsupported aren't shown for you to pick. It's been a while since I wrote that code, but I believe the reason things are done this way rather than by using the SDL_ListModes function directly was that you get really unreliable behavior if you're running in a window rather than full screen -- like it'll just show one resolution for you to pick from.
|