Re: [Qemu-devel] Re: [PATCH] Use opaque alpha channel to support Xgl

2006-03-06 Thread Anthony Liguori
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.

[Qemu-devel] Re: [PATCH] Use opaque alpha channel to support Xgl

2006-03-06 Thread Christian Walther
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.