Re: [AD] truecolor fonts |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Robert Ohannessian wrote:
clear_to_color(bmp, bitmap_mask_color(bmp)) should just work. If not, there is a bug elsewhere.
It does work but you get magenta background instead of black one for paletted fonts generated with GL_RGB8. This fonts use 24-bit dpp bitmaps internally and since they are not generated with AGL_TEXTURE_MASKED (magenta is a regular color for paletted mode) magenta gets displayed.
Everything seems fine to me. -- Milan Mimica http://sparklet.sf.net
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |