Sdl and 24-bit color

I have had trouble displaying at 24-bit color, any other color settings
work. i set bpp to 0 on initalization which is suppose to use the default
corrent… any ideas?

–Keith

Try 32-bit color. Most implementations that don’t support 24-bit will
support 32-bit, which usually has the same precision as 24-bit, with 8
bits per component and the rest unused or for the alpha channel.

-DOn Tue, 2 Apr 2002, Keith Swyer wrote:

I have had trouble displaying at 24-bit color, any other color settings
work. i set bpp to 0 on initalization which is suppose to use the default
corrent… any ideas?

–Keith


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl