i have a graduation project on opengl
the program must draw lines on the screen then get charterers from a file and display them on the screen with the lines
i have wrote every part of the code and test it separately it work!
when i gather them the program stopped running
how can i make glprint read from a character variable
example:it work when i wrote
glPrint("a",...) but if i wrote char temp; glPrint(&temp,..)
the screen is empty.
also i wrote glutdfunctiondiplay(display) in the end of the main to display the lines,but it haven’t been executed because of the display list to keep the char on the screen,i wrote it in the display list code i gave compilation error!
please help me !