Minor debug logging change.
This commit is contained in:
parent
8bc5e347cc
commit
287344c272
@ -34,7 +34,7 @@ pub fn main() anyerror!void {
|
|||||||
|
|
||||||
const stdout = std.io.getStdOut();
|
const stdout = std.io.getStdOut();
|
||||||
|
|
||||||
info("Writing image {d}x{d}\n", .{ image_width, image_height });
|
info("Writing image {d}x{d}", .{ image_width, image_height });
|
||||||
try stdout.writer().print("P3\n{d} {d}\n255\n", .{ image_width, image_height });
|
try stdout.writer().print("P3\n{d} {d}\n255\n", .{ image_width, image_height });
|
||||||
|
|
||||||
var j: isize = image_height - 1;
|
var j: isize = image_height - 1;
|
||||||
@ -50,6 +50,7 @@ pub fn main() anyerror!void {
|
|||||||
try write_color(pixel_color);
|
try write_color(pixel_color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
info("Done", .{});
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user