From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Md5Na-0003cT-0h for qemu-devel@nongnu.org; Mon, 17 Aug 2009 12:48:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Md5NV-0003c2-E6 for qemu-devel@nongnu.org; Mon, 17 Aug 2009 12:48:17 -0400 Received: from [199.232.76.173] (port=37113 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md5NV-0003bx-AO for qemu-devel@nongnu.org; Mon, 17 Aug 2009 12:48:13 -0400 Received: from mail-fx0-f206.google.com ([209.85.220.206]:50983) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Md5NU-0000tx-Qk for qemu-devel@nongnu.org; Mon, 17 Aug 2009 12:48:13 -0400 Received: by fxm2 with SMTP id 2so2469864fxm.28 for ; Mon, 17 Aug 2009 09:48:11 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4A8989C9.8060302@gnu.org> Date: Mon, 17 Aug 2009 18:48:09 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20090817155814.GA1665@1und1.de> In-Reply-To: <20090817155814.GA1665@1und1.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] Re: [PATCH] sdl.c: support 32 bpp cursors List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Reimar_D=F6ffinger?= Cc: qemu-devel@nongnu.org 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