   Enumerating display modes.
  I just started with OpenGL over the weekend and I'm trying to figure out if there is a way to check if a resolution is supported. From what I've been searching there either isn't much on the topic or I'm searching the wrong things. Anyone know?Thanks [smile]   
  sdl will return a list of screenmodes i believe   ;  I'm not really too familiar to SDL, but what connection does it have with OpenGL besides that it uses it? Right now what I'm doing is implementing a method for my renderer that will be passed a RENDERERPARAM structure and the specific API will according find out wether or not it has support for that display mode and bitperpixel. From what I've found there isn't much besides (which I haven't got around to trying yet)GLint maxRes[2];glGetIntergerv(maxRes, GL_MAX_VIEWPORT_DIMS);if this does work what about bits per pixel on each resolution that is passed?   ;  There is no standard way to do this because it depends on the underlying operating system. However, as zedzeek pointed out, sdl provides a method to do this. Other cross-platform libraries offer this as well. They do this "under the hood" by using whatever method is appropriate to the platform you are running on.For Windows, you can use EnumDisplaySettings. For *nix/X11, you would use something else (I can't remember as it's been a while). For Mac, you would use yet another something else (I can't remember because I never knew).