Re: [AD] pink color conversion blit bug

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


> why in that function? that funciton is only called to convert between
> true color graphics and planar-modex bitmaps

It is used to convert between any color-depths. But it is much simpler
(and slower) than the other conversion functions, so i plan on using it
whenever _color_conv & COLOR_CONV_KEEP_TRANS is true. ( This way i only
have one check for the flag per blit, and even modex bitmaps are
supported then :). Speed doesn't matter, because getpixel() and
putpixel() certainly are slow enough to hide the speed loss caused by
checking for transparency).

The only thing I have to do is adding dithering to that function first.




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