https://bugs.winehq.org/show_bug.cgi?id=46655
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- Okay, I figured this one out. The problem is the edge case where all points are on one point. Old implementation returns an empty region, new implementation returns NULL.
Will make tests and a patch tomorrow.