[SDL] SDL-1.1.0, Win32, GDI, Fullscreen, 8-bit Again
Ryan C. Gordon
icculus at icculus.org
Wed Oct 4 12:11:26 PDT 2006
> I do not understand exactly how SDL_HWPALETTE relates to the workings of
> palette handling. I just asumed that
> it gives the best compatibility. ¿Am I wrong?
You're right about compatibility, but only on systems that are in 256
color mode in general, which aren't many machines at this point.
I figured if you were having palette bugs, it might push the driver
through a less buggy codepath. But if you're doing palette effects,
HWPALETTE should give you better performance, too, when it works.
--ryan.
More information about the SDL
mailing list