[SDL] SDL_ListModes

Mikkel Gjøl s971661 at student.dtu.dk
Thu Jan 29 02:08:37 PST 2004


<- Chameleon -> wrote:
> You get the display modes supported from your system in window mode.
> So, all resolutions are available.

...again, in windowed mode. To get the actual resolutions available, 
pass sdl_listmodes something like this:

modes = SDL_ListModes(NULL, _sdl_flags | SDL_FULLSCREEN);


Regards,
\\Mikkel Gjoel




More information about the SDL mailing list