RE: [AD] truecolor fonts

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


clear_to_color(bmp, bitmap_mask_color(bmp)) should just work. If not,
there is a bug elsewhere.


> -----Original Message-----
> From: alleg-developers-admin@xxxxxxxxxx [mailto:alleg-
> developers-admin@xxxxxxxxxx] On Behalf Of Evert Glebbeek
> Sent: Monday, March 27, 2006 4:11 PM
> To: alleg-developers@xxxxxxxxxx
> Subject: Re: [AD] truecolor fonts
> 
> 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
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------




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