Move some of the glEdgeFlag calls around to improve clarity