Christian Walther wrote:
Anthony Liguori wrote:
I really don't like this patch as it seems like a hack but I couldn't
figure out a way to differentiate in SDL between a 24-bit depth with
a 32-bit pixel width (which is a common, non-alpha format) and a true
32 bit depth with an alpha channel.
Anthony Liguori wrote:
I really don't like this patch as it seems like a hack but I couldn't
figure out a way to differentiate in SDL between a 24-bit depth with
a 32-bit pixel width (which is a common, non-alpha format) and a true
32 bit depth with an alpha channel.
Check SDL_Surface->format.