I have been adding GL Galore support for my platformer and noticed TextOut() call kills the program.
Otherwise, I am liking it and get constant nice frame rate with my program.
TexOut() not supported with GL Galore?
- airsoftsoftwair
- Posts: 5454
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: TexOut() not supported with GL Galore?
Right, this is a bug. It shouldn't crash. I'll fix this. However, generally speaking, using TextOut() with GL Galore is not a good idea because TextOut() doesn't make use of hardware acceleration so it will slow down your drawing. A better idea would be to store the characters you need in a hardware brush and then do the text drawing yourself.
Re: TexOut() not supported with GL Galore?
Yep, I will add support for some popular bitmap font generator output format into my framework.airsoftsoftwair wrote:A better idea would be to store the characters you need in a hardware brush and then do the text drawing yourself.
- airsoftsoftwair
- Posts: 5454
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: TexOut() not supported with GL Galore?
Ok, so this was a bug in Hollywood's plugin interface, not in GL Galore. Fixed now.
Re: TexOut() not supported with GL Galore?
I added initial support for AngelCode.com Bitmap Font Generator output files into my framework.