If you are using C++, you might consider using gamelib's Line function instead, as it's about 10 times faster than LE's DrawLine:
inline void Color(double r, double g, double b, double a)
{
glColor4f(r,g,b,a);
}
inline void Line(int x, int y, int w, int h)
{
glBegin(GL_LINES);
glVertex2i(x,y);
if(0==w)w=1;
glVertex2i(x+w,y+h);
glEnd();
}