April 27, 2026
11:38 p.m.
We assume a span is never empty and therefore can never begin at the right bound. An empty span there can break the requirement in combine_regions_to_spans() that current span Y coordinates are never less than the loop Y coordinate. Empty spans also break the in_left and in_right calculation. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59678 The added test will assert without the fix. -- v2: gdiplus/tests: Test a region intersect which produces empty spans. https://gitlab.winehq.org/wine/wine/-/merge_requests/10724