Re: [AD] to prefix or not to prefix (sigh) |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Laurence Withers wrote:
In reply to Javier González <xaviergonz@xxxxxxxxxx>:And probably fix a thing that is problematic with text_mode(), and it is that when you use for example a RGBA color (say for example 250, 250, 250, 250, that is 0xFAFAFAFA, it gets interpreted as a negative number, that is, transparent mode when it is not.Erm... why are you passing alpha values to text_mode()? It only uses RGB values, so you might as well use makecol() rather than makeacol().
It's a problem for AllegroGL, when you want to draw white text, using alpha = 255...
-- - Robert J Ohannessian "Microsoft code is probably O(n^20)" (my CS prof) http://pages.infinit.net/voidstar/
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |