Revert "glamor: explicitly draw endpoints of line segments"

This reverts commit 530e80375e.

The commit breaks xts5/Xlib9/XDrawLines/XDrawLines test as per
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1801#note_2812218

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1858>
This commit is contained in:
Povilas Kanapickas
2025-03-07 03:41:58 +02:00
committed by Enrico Weigelt, metux IT consult
parent b399147e1e
commit e17960bcb6

View File

@@ -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);
}
}