[SDL] why ?

Bille2 bille2 at free.fr
Thu Aug 9 13:31:01 PDT 2001


Hello,
during the init I use:

( SDL_SetVideoMode( 700, 300, 16, SDL_OPENGLBLIT | SDL_RESIZABLE ) == NULL )


them I ask :
printf("Screen BPP: %d\n", SDL_GetVideoSurface()->format->BitsPerPixel);

 and the anwser  that Windows gives me is :  BPP=32,
while I expect BPP=16 ?

 Why,

  simply Jocelyn.





More information about the SDL mailing list