gdiplus: draw_polyline never sets status from GenericError to Ok on successful calls.
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 684a3b4..aed61c5 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -505,7 +505,8 @@
 
     transform_and_round_points(graphics, pti, ptcopy, count);
 
-    Polyline(graphics->hdc, pti, count);
+    if(Polyline(graphics->hdc, pti, count))
+        status = Ok;
 
 end:
     GdipFree(pti);