Wire-Frame Mode

Is there a simple code that can enable and disable Wire-Frame Mode?

glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) should be what you want. GL_FILL for filled triangles again.

Thank you. It is exactly what I needed!