|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: [PATCH] sdl.c: support 32 bpp cursors |
Date: | Mon, 17 Aug 2009 18:48:09 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3 |
On 08/17/2009 05:58 PM, Reimar Döffinger wrote:
The thing I am unsure about though is which byte is the unused one and should be skipped, the first or the last - for the black-and-white cursors I tested it doesn't make a difference...
You could skip the one that is always zero. If none is, then one of the bytes is the alpha and you should either skip no byte, or set src _just to that_ byte.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |