This commit is contained in:
Magnus Norddahl 2019-12-08 16:40:14 +01:00
parent 0b9e4e1f3d
commit 819c675c3d

View file

@ -1386,7 +1386,7 @@ static void DrawSpan(int y, int x0, int x1, const TriDrawTriangleArgs* args, Pol
if (xstart < x0)
{
if (thread->WriteColor)
thread->WriteColorFunc(y, x0, x1, thread);
thread->WriteColorFunc(y, xstart, x0, thread);
if (thread->WriteDepth)
WriteDepth(y, xstart, x0, thread);
if (thread->WriteStencil)