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 Marge Bot
parent 34a53a5746
commit 5fa59f2333

View file

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