Re: [AD] pink color conversion blit bug

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


> Elias Pschernig <eliaspschernig@xxxxxxxxxx> wrote:
> >                         If you use blit to convert between color
> > depths, this doesn't correctly work if the bitmap contains transparent
> > or pink areas.
> ...
> > Attached is a patch to fix this. But because blit might be used in
> > programs without transparency, it is only invoked when using the newly
> > added COLORCONV_TRANS_CARE flag for color conversion.
> 
> What does everyone think of this patch/feature?
I think it's a worth addition and that flag should be enabled by default
 
> > In case the patch is accepted I guess I should add a note about
> > COLORCONV_TRANS_CARE to the documentation as well..
> 
> Yes, please.  Try to make the meaning of "TRANS_CARE" more obvious
> (it took a while for me to get my head around it, actually :-)

maybe COLORCONV_KEEP_TRANS? who knows =)



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