[SDL] Palettized picture looks bad, but only in SDL

Drake Wilson drake at libcom.com
Mon Aug 25 20:08:01 PDT 2003


Quoth Joey Hewitt <joey at rmci.net>, on Mon 25 Aug 2003:
> I guess I'm wondering if anyone knows that SDL doesn't
> handle palettized images (in palettized video mode) very well, or
> something like that.  In that case, I can work around it by using a
> higher bitdepth for just the title screen, but not my entire game,
> because using the palette simplifies some things.

Perhaps you've already done this, and I haven't tried this out in
detail, but I would check out the SDL_HWPALETTE flag and
SDL_SetPalette (or SDL_SetColors) first.  If this is redundant, I
apologize.

   ---> Drake Wilson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030825/d54001db/attachment.pgp>


More information about the SDL mailing list