mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 15:30:29 +02:00
softgpu: Workaround a bug in through mode (in Rasterizer::DrawTriangle "den" would become really large because clippos.w wasn't initialized to a good value).
This commit is contained in:
1 parent
247ea278c8
commit
8e7f35feee
1 file changed
+1
@@ -118,6 +118,7 @@ static VertexData ReadVertex(VertexReader& vreader)
|
||||
vertex.drawpos.x = pos[0];
|
||||
vertex.drawpos.y = pos[1];
|
||||
vertex.drawpos.z = 0; // TODO: Not sure if that's what we should do here
|
||||
vertex.clippos.w = 1.f;
|
||||
}
|
||||
|
||||
return vertex;
|
||||
|
||||
Reference in new issue
Block a user