diff options
Diffstat (limited to 'dw/types.cc')
-rw-r--r-- | dw/types.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/types.cc b/dw/types.cc index 4d94f494..9dcedeea 100644 --- a/dw/types.cc +++ b/dw/types.cc @@ -140,7 +140,7 @@ void Polygon::draw (core::View *view, core::style::Style *style, int x, int y) { if (points->size()) { int i; - const bool filled = false; + const bool filled = false, convex = false; int (*pointArray)[2] = (int (*)[2]) malloc(points->size() * sizeof(*pointArray)); @@ -149,7 +149,7 @@ void Polygon::draw (core::View *view, core::style::Style *style, int x, int y) pointArray[i][1] = y + points->getRef(i)->y; } view->drawPolygon(style->color, core::style::Color::SHADING_NORMAL, - filled, pointArray, i); + filled, convex, pointArray, i); free(pointArray); } } |