Draw a line with opengl using xml file