Re: [AD] Bug with transparent ellipses

[ Thread Index | Date Index | More Archives ]

On Sun, 2006-09-03 at 22:24 -0400, Jon Rafkind wrote:
> >   
> Attached patch does this.

We should handle rgb_map in a separate patch I think, since there the
fix must look different. See the makecol8 code, which would break with
your patch:

int makecol8(int r, int g, int b)
   if (rgb_map)
      return rgb_map->data[r>>3][g>>3][b>>3];
      return bestfit_color(_current_palette, r>>2, g>>2, b>>2);

Elias Pschernig

Mail converted by MHonArc 2.6.19+