softgpu: Ensure TCs are initialized.

Even if they're not read, we want consistent behavior.
This commit is contained in:
Unknown W. Brackets committed 2022-08-12 23:58:57 -07:00
1 parent 49b98de97a
commit 482dbb66ea
1 file changed
+2
+2
View File
@@ -281,6 +281,8 @@ VertexData TransformUnit::ReadVertex(VertexReader &vreader, const TransformState
if (state.readUV) {
vreader.ReadUV(vertex.texturecoords.AsArray());
} else {
vertex.texturecoords.SetZero();
}
Vec3<float> normal;