From dca67964e03709237a888f97ff3481f5e1cd579c Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Wed, 20 Sep 2023 22:52:04 -0400 Subject: display: Fix line vertices --- virtual-programs/display.folk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'virtual-programs') diff --git a/virtual-programs/display.folk b/virtual-programs/display.folk index b0fe3ec1..dc0fb2ea 100644 --- a/virtual-programs/display.folk +++ b/virtual-programs/display.folk @@ -131,7 +131,7 @@ On process { vec2 vertices[4] = vec2[4]( min(from, to) - thickness, vec2(max(from.x, to.x) + thickness, min(from.y, to.y) - thickness), - vec2(min(from.y, to.y) - thickness, max(from.y, to.y) + thickness), + vec2(min(from.x, to.x) - thickness, max(from.y, to.y) + thickness), max(from, to) + thickness ); return vertices[gl_VertexIndex]; -- cgit v1.2.3