We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b1db3b commit 20dbe21Copy full SHA for 20dbe21
1 file changed
vlib/gg/draw.c.v
@@ -75,7 +75,7 @@ pub fn (ctx &Context) draw_line(x f32, y f32, x2 f32, y2 f32, c Color) {
75
}
76
sgl.c4b(c.r, c.g, c.b, c.a)
77
78
- sgl.begin_line_strip()
+ sgl.begin_lines()
79
sgl.v2f(x * ctx.scale, y * ctx.scale)
80
sgl.v2f(x2 * ctx.scale, y2 * ctx.scale)
81
sgl.end()
0 commit comments