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:
Tony Wasserka authored and neobrain committed 2013-08-16 23:49:03 +02:00
1 parent 247ea278c8
commit 8e7f35feee
1 file changed
+1
+1
View File
@@ -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;