From 62ea19f6c7dfa8cc2e47e8fdc567bf9a85f5d21a Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Tue, 22 Oct 2019 07:28:00 -0700 Subject: [PATCH] rtiow: don't batch status updates per-line (do per-pixel). --- rtiow/src/renderer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtiow/src/renderer.rs b/rtiow/src/renderer.rs index dad31a8..9452d02 100644 --- a/rtiow/src/renderer.rs +++ b/rtiow/src/renderer.rs @@ -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, Vec) = (0..width) .map(|x| render_pixel(scene, x, y))