diff --git a/vlib/gg/gg.v b/vlib/gg/gg.v index c6edaa38db..ca9c4ee719 100644 --- a/vlib/gg/gg.v +++ b/vlib/gg/gg.v @@ -668,9 +668,9 @@ pub fn (ctx &Context) draw_empty_poly(points []f32, c gx.Color) { sgl.begin_line_strip() for i in 0 .. len { - sgl.v2f(points[2 * i], points[2 * i + 1]) + sgl.v2f(points[2 * i] * ctx.scale, points[2 * i + 1] * ctx.scale) } - sgl.v2f(points[0], points[1]) + sgl.v2f(points[0] * ctx.scale, points[1] * ctx.scale) sgl.end() }