rtiow: don't batch status updates per-line (do per-pixel).
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bill Thiede 2019-10-22 07:28:00 -07:00
parent c903a743b5
commit 62ea19f6c7

View File

@ -496,7 +496,7 @@ fn render_worker(
Ok(req) => match req {
Request::Line { width, y } => {
trace!("tid {} width {} y {}", tid, width, y);
let batch = true;
let batch = false;
if batch {
let (pixels, rays): (Vec<Vec3>, Vec<usize>) = (0..width)
.map(|x| render_pixel(scene, x, y))