line_widths: the LINES-NEAREST line names the pixels and the width alone
The line also prints for the triangle's edges, where Metal's 23 pixels of the horizontal line are not the comparison. (cherry picked from commit c05e75e4f54883fe5666198180ee2cc17679159d)
This commit is contained in:
1 parent
1cffaeae50
commit
4ee54fa319
1 file changed
+1
-2
@@ -2033,8 +2033,7 @@ fn a_refused_band_draws_at_the_nearest_width() {
|
||||
let pixels = drawn.ids.chunks(4).filter(|t| t[3] != 0).count();
|
||||
assert!(pixels > 0, "{what}: drew nothing");
|
||||
println!(
|
||||
"LINES-NEAREST {what}: {pixels} pixels at the nearest width {} (Metal's line \
|
||||
at width 0 through these centres: 23)",
|
||||
"LINES-NEAREST {what}: {pixels} pixels at the nearest width {}",
|
||||
facts.nearest(0.0)
|
||||
);
|
||||
if facts.tessellates {
|
||||
|
||||
Reference in new issue
Block a user