aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/Rectangle.c7
-rw-r--r--generic/Window.c3
2 files changed, 6 insertions, 4 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;
diff --git a/generic/Window.c b/generic/Window.c
index 063b446..c577ff6 100644
--- a/generic/Window.c
+++ b/generic/Window.c
@@ -595,7 +595,7 @@ GetClipVertices(Item item,
h = wind->real_height;
}
points = ZnListArray(item->wi->work_pts);
- TRI_STRIP1(tristrip, points, 2);
+ TRI_STRIP1(tristrip, points, 2, False);
points[0] = wind->pos_dev;
points[1].x = points[0].x + w;
points[1].y = points[0].y + h;
@@ -620,6 +620,7 @@ Coords(Item item,
int index,
int cmd,
ZnPoint **pts,
+ char **controls,
int *num_pts)
{
WindowItem wind = (WindowItem) item;