Re: [AD] truecolor fonts

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


On Monday 27 March 2006 21:41, Milan Mimica wrote:
> Peter Hull wrote:
> > In this part:
> > +
> > +       if (fad->format == GL_RGBA) {
> > +               clear_to_color(bmp, bitmap_mask_color(bmp));
> > +       }
> > +       else {
> > +               clear_bitmap(bmp);
> > +       }
> > Would just
> > +               clear_to_color(bmp, bitmap_mask_color(bmp));
> > work?
> 
> No. Paletted color fonts use 24 bitmaps.

Eh...? Can you reword that, I don't understand...
Ah, I see now that this is an AllegroGL patch! That also explains why it 
might be different.

Evert




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