Fix LineSeries()
drawing hairlines when scaled
#167
Labels
Milestone
LineSeries()
drawing hairlines when scaled
#167
LineSeries()
is currently implemented as a line strip:https://github.com/fatcerberus/minisphere/blob/v4.5.11/src/minisphere/vanilla.c#L2127-L2131
This method works well at 1x scale, but when the game window is zoomed, as sometimes happens with lower-resolution games or in fullscreen, the line segments become hairlines (thinner than a pixel) because the GPU only scales the vertices and not the line segments themselves.
Find a way to fix the implementation so that the lines have 1-pixel thickness, as those produced by
Line()
, preferably without producing visible "elbows" on translucent line strips.The text was updated successfully, but these errors were encountered: