[SDL] screen size and bit depth under OpenGL ?

atelier3w Laurent atelier3w at hotmail.com
Thu Oct 10 08:44:01 PDT 2002


Hi,

How to know what screen size and bits depth are avaible under OpenGL, before 
to use:

SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags);

Please, show me some examples, because I don't know what use:
- SDL_GetVideoInfo(void);
- SDL_ListModes(SDL_PixelFormat *format, Uint32 flags);
- SDL_VideoModeOK(int width, int height, int bpp, Uint32 flags);
- SDL_  .........

thanks

Laurent (France)






_________________________________________________________________
Rejoignez MSN Hotmail, le plus important service de messagerie 
http://www.hotmail.com/fr





More information about the SDL mailing list