mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-26 19:28:52 +00:00
softgpu : should be vreader.ReadColor1
This commit is contained in:
parent
8ff2a1bb35
commit
758cc878fb
@ -148,7 +148,7 @@ static VertexData ReadVertex(VertexReader& vreader)
|
||||
|
||||
if (vreader.hasColor1()) {
|
||||
float col[3];
|
||||
vreader.ReadColor0(col);
|
||||
vreader.ReadColor1(col);
|
||||
vertex.color1 = Vec3<int>(col[0]*255, col[1]*255, col[2]*255);
|
||||
} else {
|
||||
vertex.color1 = Vec3<int>(0, 0, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user