[SDL] screen size and bit depth under OpenGL ?
slouken at devolution.com
Sat Oct 12 08:36:01 PDT 2002
> What about a cross-platform function to get the available OpenGL buffer
> sizes (stencil, auxility, color, depth) for each mode?
You can't query them, just set the values you want, set the video mode,
and look at the values you get. The OpenGL drivers will try to provide
the best set of attributes, using your settings as minimums.
I'm don't think it's even possible to query them individually for various
-Sam Lantinga, Software Engineer, Blizzard Entertainment
More information about the SDL