diff options
Diffstat (limited to 'generic/Rectangle.c')
-rw-r--r-- | generic/Rectangle.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/Rectangle.c b/generic/Rectangle.c index 5418411..bc7a814 100644 --- a/generic/Rectangle.c +++ b/generic/Rectangle.c @@ -776,8 +776,8 @@ GetClipVertices(Item item, if (ISSET(rect->flags, ALIGNED_BIT)) { ZnListAssertSize(item->wi->work_pts, 2); points = (ZnPoint *) ZnListArray(item->wi->work_pts); - TRI_STRIP1(tristrip, points, 2); - tristrip->fan = False; + TRI_STRIP1(tristrip, points, 2, False); + tristrip->strips[0].fan = False; if (rect->dev[0].x < rect->dev[2].x) { points[0].x = rect->dev[0].x; @@ -797,7 +797,7 @@ GetClipVertices(Item item, } } else { - TRI_STRIP1(tristrip, rect->dev, 4); + TRI_STRIP1(tristrip, rect->dev, 4, False); } return ISSET(rect->flags, ALIGNED_BIT); @@ -818,6 +818,7 @@ Coords(Item item, int index, int cmd, ZnPoint **pts, + char **controls, int *num_pts) { RectangleItem rect = (RectangleItem) item; |