diff --git a/src/rendering/polyrenderer/drawers/screen_triangle.cpp b/src/rendering/polyrenderer/drawers/screen_triangle.cpp index 2e99e3967..0f3aeb284 100644 --- a/src/rendering/polyrenderer/drawers/screen_triangle.cpp +++ b/src/rendering/polyrenderer/drawers/screen_triangle.cpp @@ -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)