OpenGL Polygon Offset Fill implementation example code
I found a workaround suggested at the bottom of this page : to deal with coplanar lines and polygons, one can apply a different glDepthRange to polygon face and polygon wireframe.