From: Philip Brown <phil@bo...> - 2003-08-15 08:59:50
I'm happy to say that I tracked down the color bug in the new rsync tree,
where 24bit software rendering got the wrong colors.
Unfortunately, the rsync site is down right now, due to power outages.
But here's the diff, for glx-mesa5/genericmesa/gen_pixel.h
I had the green bits and the blue bits shifted the same amount. sigh.
< #define PACK_8B8G8R( R, G, B ) ( ((R) << 16) | ((G) << 8) | ((B) <<8))
> #define PACK_8B8G8R( R, G, B ) ( ((R&0xff) << 16) | ((G&0xff) << 8) | (B&0xff))
AAAAAnyways... that makes me a little more comfortable about starting to
move into the hardware side of things. Although I've also done one or two
touch-ups to the common area as well. like making the backbuffer allocation
be a little more modular/function oriented.
Someday, when and if the power comes back, maybe you'll get to see it :-)
Get latest updates about Open Source Projects, Conferences and News.