Wasn't handling no texture case correctly in unlit polygons.
Merge remote-tracking branch 'upstream/develop' into develop