softgpu: Fix some alpha blending bugs.

This commit is contained in:
Tony Wasserka 2013-07-19 22:38:50 +02:00 committed by neobrain
parent e7ac41c4bc
commit c549ee0d12

View File

@ -483,6 +483,7 @@ void DrawTriangle(const VertexData& v0, const VertexData& v1, const VertexData&
srccol = Vec3<int>::AssignToAll(2 * dst.a());
break;
case GE_SRCBLEND_DOUBLEINVDSTALPHA:
// TODO: Clamping?
srccol = Vec3<int>::AssignToAll(255 - 2 * dst.a());
break;
case GE_SRCBLEND_FIXA: