On Sun, 3 Jun 2001, Brian S. Julin wrote:

> On Sun, 3 Jun 2001, Christoph Egger wrote:
> > This fix even showed me another bug in the 32bpp mode, which I can
> > reproduce on the memory-target:
> > 
> > When _mapping_ (NOT UNmapping) a white color, then the pixelvalue is
> > "-1" instead of 16777215.
> 
> That just means you have 0xff in the alpha channel, right?  (try printf in
> hex, -1 is 0xffffffff in 2's compliment 32bit)  We can decide what the 
> vanilla GGI primatives should do with alpha after we've got LibBuf/LibBlt 
> in line.  Though if it's rgba white would be 4294967040 (unsigned, 
> -256 signed) if the alpha was zeroed.
               ^^^^^^^^^^^^^^^^^^^^^^^

Yes, _if_ the alpha value is zeroed! But you don't handle the
alpha-value in your patch.


CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]

Reply via email to