mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 14:30:27 +02:00
softgpu: Ensure TCs are initialized.
Even if they're not read, we want consistent behavior.
This commit is contained in:
1 parent
49b98de97a
commit
482dbb66ea
1 file changed
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user