[SDL] List of available display modes
Olli Aalto
oaalto at gmail.com
Tue Aug 8 00:42:29 PDT 2006
Torsten Giebl wrote:
> Hello !
>
>
>> So how have *you* done it?
>
>
> Look at :
>
> http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fListModes
>
Yes, I looked into that. That function has the problem of returning only
resolutions for a specific pixelformat and flags combination. And I
don't know what combinations should be used to get a good list of
possible modes.
I'm doing OpenGL so the flags parameter is just SDL_OPENGL? Or do I have
to pass the SDL_FULLSCREEN flag too?
I'm not sure, but I think that 16bpp and 32bpp are enough for the bits
per pixel part. But can I get possible refresh rates for those and their
available resolutions?
O.
More information about the SDL
mailing list