[haiku-development] Re: Color_Space -> B_RGBA32_BIG bug

  • From: Ralf Schülke <teammaui@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 15 Aug 2008 14:28:33 +0200

On Fri, 15 Aug 2008 14:04:18 +0200, Michael Lotz <mmlr@xxxxxxxx> wrote:

On Fri, 15 Aug 2008 13:48:39 +0200, Ralf Schuelke wrote
in the BBmitmap the Color_Space B_RGBA32_BIG make the BBmitmap empty,
 when i edit to B_RGBA32 then goes it :-)

Can you please open a bug report about that and attach a test case or sources with which this can be reproduced. I can imagine very well where this gets lost.

So i look in /src/kits/interface/GraphicsDefs.cpp
and found:
const uint32 B_TRANSPARENT_MAGIC_RGBA32 = 0x00777477;
const uint32 B_TRANSPARENT_MAGIC_RGBA32_BIG = 0x77747700;

but i dont now what "0x77747700" do, it is wrong? I think it must
set to "0x00777477" but this is the same a RGBA32.

That one is fine, "0x77747700" is the same as "0x00777477" just with reversed
byte order.


i will litel bit play with this, in the coming week, when a cant fix this or other developer
then make a report_test_app.

Ralf Schülke aka stargater


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Other related posts: