remove "if (l == ...)" + use GL_LINE_LOOP