From 9edc105abd880662d830e49d80ef7a59c6b3b243 Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Sat, 14 Mar 2026 22:34:18 +0200 Subject: [PATCH] Revert "glamor: explicitly draw endpoints of line segments" This reverts commit https://gitlab.freedesktop.org/xorg/xserver/-/commit/530e80375ebbe825247646d5225e0ebb91f940cb. The commit breaks xts5/Xlib9/XDrawLines/XDrawLines test as per https://gitlab.freedesktop.org/xorg/xserver/-/issues/1801#note_2812218 Part-of: --- glamor/glamor_lines.c | 1 - 1 file changed, 1 deletion(-) diff --git a/glamor/glamor_lines.c b/glamor/glamor_lines.c index 754729d9c5..bc7bbfedad 100644 --- a/glamor/glamor_lines.c +++ b/glamor/glamor_lines.c @@ -120,7 +120,6 @@ glamor_poly_lines_solid_gl(DrawablePtr drawable, GCPtr gc, box->y2 - box->y1); box++; glDrawArrays(GL_LINE_STRIP, 0, n + add_last); - glDrawArrays(GL_POINTS, 0, n + add_last); } }