only use GL_LINE_SMOOTH if it has been declared.