Using the FreeType lib to create text bitmaps to draw in OpenGL 3.x
- by Andy
At the moment I not too sure where my problem is. I can draw loaded images as textures no problem, however when I try to generate a bitmap with a char on it I just get a black box.
I am confident that the problem is when I generate and upload the texture.
Here is the method for that; the top section of the if statement just draws an texture of…