[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Christian Walther
Subject: [Qemu-devel] Re: [PATCH] Use opaque alpha channel to support Xgl
Date: Mon, 06 Mar 2006 18:38:59 +0100
User-agent: Thunderbird 1.5 (Macintosh/20051201)

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.Amask (see http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fPixelFormat).

Hopefully, this will be fixed in future versions of SDL.

I'm not convinced there's something to fix in SDL rather than Qemu (but I'm not familiar with the issue), but if there is, please post this on the SDL mailing list (address@hidden, http://news.gmane.org/gmane.comp.lib.sdl).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]