diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/Icon.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/Icon.c b/generic/Icon.c index 4503492..3e35827 100644 --- a/generic/Icon.c +++ b/generic/Icon.c @@ -645,7 +645,13 @@ GetClipVertices(ZnItem item, ZnPoint *points; if (item->wi->render) { - ZnTriStrip1(tristrip, icon->dev, 4, False); + ZnListAssertSize(item->wi->work_pts, 4); + points = ZnListArray(item->wi->work_pts); + points[0] = icon->dev[1]; + points[1] = icon->dev[2]; + points[2] = icon->dev[0]; + points[3] = icon->dev[3]; + ZnTriStrip1(tristrip, points, 4, False); return False; } |