Skip to content

Commit

Permalink
Fix smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Jul 16, 2024
1 parent 8d5e677 commit c7d469e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vello_tests/tests/smoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, &params).unwrap();
let image = vello_tests::render_sync(scene, &params).unwrap();
assert_eq!(image.format, Format::Rgba8);
for pixel in image.data.data().chunks_exact(4) {
let &[r, g, b, a] = pixel else { unreachable!() };
Expand Down

0 comments on commit c7d469e

Please sign in to comment.