RE: [AD] small bug in 15 and 16 bit asm color converters

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sun, 2004-10-24 at 17:28 +1000, aj wrote:

> i use black as a  masking colour for overlaying video.. so it does effect 
> the way my software works.

Well, again, if you special case 0/0/0 or 255/0/255 doesn't matter. One
is missing now, one with the patch. Only what looks better should count.
And this conversion has nothing to do with the conversion taking place
in blit() - it is solely for when your Allegro program runs in
15/16-bit, but the desktop is 24/32-bit. So I think the above case
wouldn't be affected anyway.

> i would prefer to always have black as 0,0,0.
> i also consider that slight performace hit (for 
> black=0,0,0,white=255,255,255) to be justified.
> 

Well, we currently have no code for that..

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/