Page 1 of 1
TexOut() not supported with GL Galore?
Posted: Sat Jun 20, 2015 9:37 am
by jalih
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.
Re: TexOut() not supported with GL Galore?
Posted: Sun Jun 21, 2015 5:59 pm
by airsoftsoftwair
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?
Posted: Mon Jun 22, 2015 8:02 am
by jalih
airsoftsoftwair wrote:A better idea would be to store the characters you need in a hardware brush and then do the text drawing yourself.
Yep, I will add support for some popular bitmap font generator output format into my framework.
Re: TexOut() not supported with GL Galore?
Posted: Fri Jun 26, 2015 5:07 pm
by airsoftsoftwair
Ok, so this was a bug in Hollywood's plugin interface, not in GL Galore. Fixed now.
Re: TexOut() not supported with GL Galore?
Posted: Sat Jun 27, 2015 9:11 pm
by jalih
I added initial support for AngelCode.com Bitmap Font Generator output files into my framework.