View Full Version : What display modes are available?

03-11-2001, 07:47 AM
Heya ppl!
I am coding a OpenGL framework that I want to use to test various OpenGL stuff with and I want it to display a dialog first that lets the user pick a resolution and other stuff. My only problem is how I would determine what display modes (display dimensions and color depth) are available on the gfx-card. For now I try and set all video modes after each other and save what video modes worked. This sucks and might damage gfx-card and/or monitor. So is there a way to determine what modes are available for OpenGL access like display enumeration in DirectX?

03-11-2001, 10:55 AM
try EnumDisplaySettings(...)

03-12-2001, 04:58 AM
Thanks a lot.