Texture paint with face selection masking now shows wireframe So by default if you hide parts of the mesh and go into Texture paint mode and turn on Face Selection Masking the parts are hidden and there is no wireframe.
I toggled something so it shows up now and the other parts are visible too and that is global, I got no idea what causes this.
I found it out, this was caused by the edge split modifier.
With it being visible it looks like this.