From c7d469ea2ea4564411379294da1c8865ef17e6d5 Mon Sep 17 00:00:00 2001 From: Daniel McNab <36049421+DJMcNab@users.noreply.github.com> Date: Tue, 16 Jul 2024 18:55:26 +0100 Subject: [PATCH] Fix smoke test --- vello_tests/tests/smoke.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vello_tests/tests/smoke.rs b/vello_tests/tests/smoke.rs index 1826a8d19..cb0f67d09 100644 --- a/vello_tests/tests/smoke.rs +++ b/vello_tests/tests/smoke.rs @@ -50,10 +50,10 @@ fn empty_scene(use_cpu: bool) { let color = Color::PLUM; let params = TestParams { use_cpu, - base_colour: Some(color), + base_colour: color, ..TestParams::new("simple_square", 150, 150) }; - let image = vello_tests::render_then_debug_sync(&scene, ¶ms).unwrap(); + let image = vello_tests::render_sync(scene, ¶ms).unwrap(); assert_eq!(image.format, Format::Rgba8); for pixel in image.data.data().chunks_exact(4) { let &[r, g, b, a] = pixel else { unreachable!() };