Archived

This topic is now archived and is closed to further replies.

Falnom

glPrint()

Recommended Posts

I am just trying to print a simple line on the screen useing: glPrint(-5.0f, 12, 0, "Text"); But when I try to compile and run I get the error: "''glPrint'' : undeclared identifier". Why? How can I write unto the screen? It seems I have #include all the neccessary headers...I am at a loss as to solveing this no doubt very simple problem. Please, any help would be very appreciated. Thanks.

Share this post


Link to post
Share on other sites
It isn''t part of the OpenGL API. Nehe wrote it to make displaying text easier. I''m pretty sure the source is in tutorials 13, 14, and 15. Just copy and paste it.

Share this post


Link to post
Share on other sites