[SDL] why ?

Mattias Engdegård f91-men at nada.kth.se
Thu Aug 9 14:15:01 PDT 2001


"Bille2" <bille2 at free.fr> wrote:
>( SDL_SetVideoMode( 700, 300, 16, SDL_OPENGLBLIT | SDL_RESIZABLE ) == NULL )
>[...]
> and the anwser  that Windows gives me is :  BPP=32,
>while I expect BPP=16 ?

Your OpenGL implementation must support the RGB565 texture format
(either if it has the packed pixel extension, or if it implements the
OpenGL 1.2 API) for OPENGLBLIT to use 16bpp





More information about the SDL mailing list