I think you can use glut to do it. If you aren't using glut, you can probably get someone else's code that does it, or write your own code to do it using textured quads. I don't think OGL itself has anything built in for text. That's one of the few things about D3D that I like better than OGL.
Theres a good tutorial on NeHe's website (in fact if you are learning OGL, bookmark that site. The code isn't always the most optimised or elegant, but it explains well and has examples on nearly everything
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.