From 7895be1be8401122b9c014f774b0ec0ec4bc0073 Mon Sep 17 00:00:00 2001 From: Surman The Dead <70163032+SurmanPP@users.noreply.github.com> Date: Fri, 22 May 2026 01:20:17 +0200 Subject: [PATCH] gg: draw lines as lines instead of line strips (#27194) --- vlib/gg/draw.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/gg/draw.c.v b/vlib/gg/draw.c.v index ef064a9ad..ed49f1a71 100644 --- a/vlib/gg/draw.c.v +++ b/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) { } sgl.c4b(c.r, c.g, c.b, c.a) - sgl.begin_line_strip() + sgl.begin_lines() sgl.v2f(x * ctx.scale, y * ctx.scale) sgl.v2f(x2 * ctx.scale, y2 * ctx.scale) sgl.end() -- 2.39.5