I know there's a similar question with a quasi exact title : Back Face Culling for Line Loop
Actually I want to draw a wireframe containing triangles and quads and consequently, I really have to cull elements drawn as GL_LINE_LOOP.
In the past (when I had only triangles in my wireframe) I used the glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)
solution. This way it works but now my quads are crossed by one of their diagonal.
Do you have a solution to this problem?