summaryrefslogtreecommitdiffstats
path: root/servers/rendering_server.h
diff options
context:
space:
mode:
authorkleonc <9283098+kleonc@users.noreply.github.com>2023-01-19 13:38:15 +0100
committerkleonc <9283098+kleonc@users.noreply.github.com>2023-01-19 21:08:25 +0100
commit728c51e3627a0f6d6ff60314b47b636221ffa4f2 (patch)
tree42fddf31fc564919927f342fe722fb18cb5689c4 /servers/rendering_server.h
parent122106c8446046c58c65d96132b944089ebb5602 (diff)
downloadredot-engine-728c51e3627a0f6d6ff60314b47b636221ffa4f2.tar.gz
CanvasItem::draw_polyline Support thin polylines drawn using line strip
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r--servers/rendering_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h
index 4b51099ef0..231139e9df 100644
--- a/servers/rendering_server.h
+++ b/servers/rendering_server.h
@@ -1335,7 +1335,7 @@ public:
};
virtual void canvas_item_add_line(RID p_item, const Point2 &p_from, const Point2 &p_to, const Color &p_color, float p_width = -1.0, bool p_antialiased = false) = 0;
- virtual void canvas_item_add_polyline(RID p_item, const Vector<Point2> &p_points, const Vector<Color> &p_colors, float p_width = 1.0, bool p_antialiased = false) = 0;
+ virtual void canvas_item_add_polyline(RID p_item, const Vector<Point2> &p_points, const Vector<Color> &p_colors, float p_width = -1.0, bool p_antialiased = false) = 0;
virtual void canvas_item_add_multiline(RID p_item, const Vector<Point2> &p_points, const Vector<Color> &p_colors, float p_width = -1.0) = 0;
virtual void canvas_item_add_rect(RID p_item, const Rect2 &p_rect, const Color &p_color) = 0;
virtual void canvas_item_add_circle(RID p_item, const Point2 &p_pos, float p_radius, const Color &p_color) = 0;