I used Nehe's method of drawing text: a display list with all characters, then calling the characters in list with a char array.
Problem is that all my text I print is in the bottom of the screen and printed right behind the previous text.
My code that handles the drawing:
As you see I have tried to use translatef to move the text about, but it doesn't work. Obviously I'm missing something simple.Code :glPushMatrix(); glOrtho(0,bound_x,bound_y,0,-1,1); glTranslatef(300,400,0); glPushAttrib(GL_LIST_BIT); glListBase(base - 32); glCallLists(strlen(text), GL_UNSIGNED_BYTE, text); glPopAttrib(); glPopMatrix();