[SDL] Re: problem with SDL_BlitSurface

Mattias Engdegård f91-men at nada.kth.se
Sat Aug 18 09:33:01 PDT 2001

sirfrom at morphriz.skynet.foo wrote:
>I added the following for all the surfaces except screen and it worked 
>fine. Since it's indexed mode it seems like it should work anyway but 
>apparently not.

in 8bpp mode (and HWPALETTE has been requested), the video surface
will have a default RGB332 palette set by SetVideoMode. Other surfaces
won't have such a default palette (most likely it will be all black)

More information about the SDL mailing list