[SDL] Any automatic way to show 32-bit images on a 256 colors PC?
Stephane Marchesin
stephane.marchesin at wanadoo.fr
Wed Jun 6 14:35:32 PDT 2007
Manuel García Cabrera wrote:
> When I have a 32-bit image on a 16-bit PC, simply calling
> SDL_CreateRGBSurfaceFrom (with 32 in its arguments) and then blitting it
> to my 16-bit screen seems to do the job just fine.
Why don't you do the same with 256 colors ? SDL will map to the palette
accordingly (it might look bad, but that's what you get at 8bbp anyway :).
Stephane
More information about the SDL
mailing list