Little question

In 8 bits indexed colour mode, when no palette is initialized. does SDL
use the same palette
on all system or does it uses system palette, which differes if we are on
LInux, Win32, etc…
???

Thanks,–
Stephane Magnenat
stephane.magnenat at urbanet.ch

In 8 bits indexed colour mode, when no palette is initialized. does SDL
use the same palette
on all system or does it uses system palette, which differes if we are on
LInux, Win32, etc…
???

It uses a similar palette on all systems. It tries to get a good dithering
palette, but if it can’t allocate all the colors, for speed it will use the
closest available colors, rather than emulating an exact palette.

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/