do dual rendering per tri instead of per entity.

That is, when doing flat shaded rendering AND wireframe rendering,
render each tri twice, once flat, once wireframe, instead of
rendering each entity twice.