glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) with GS?

Does glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) works with geometry shaders? It doesn’t work here. Maybe it’s something else, as always.

Note that the Geometry Shader is outputing triangles. I can change the GS to output lines, but it wouldn’t be the same :smiley: