[SDL] performance question

Warren Young warren at etr-usa.com
Fri Sep 13 19:17:00 PDT 2002

Sam Lantinga wrote:
> Remind me to use 32 bpp behind the scenes when asked for 24 bpp in SDL 2.0 :)

There are older cards out there that really do use 24-bit pixels, in 
order to save memory.  I don't know if there are any newer cards that 
still do this.  Last time I paid attention to this kind of detail was in 
the days when 1 MB of video memory was a lot, and people did all kinds 
of trickery to conserve it.

I suppose you could have an SDL mode for "no really, I'm not kidding, 
give me 24bpp surfaces".

More information about the SDL mailing list