fucntion to render strings in opengl