25 Mar
2025
25 Mar
'25
8:19 p.m.
Bartosz Kosiorek (@gang65) commented about dlls/gdiplus/region.c:
+ + if (edge1->y != edge2->y) { - stat = gdi_dc_acquire(graphics, &hdc); - if (stat != Ok) - return stat; + return (edge1->y > edge2->y) - (edge1->y < edge2->y); } - else + + return (edge1->x > edge2->x) - (edge1->x < edge2->x); +} + +static GpStatus edge_list_to_rgndata(struct edge_list *edges, FillMode fill_mode, RGNDATA **rgndata) +{ + int i, start_x = 0, winding_count = 0;
INT i, start_x = 0, winding_count = 0;
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7654#note_99051