Skip to content

Commit 6de3109

Browse files
committed
fix headless
1 parent ad81d81 commit 6de3109

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/headless.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ impl HeadlessRenderer {
106106
break;
107107
}
108108
}
109-
// One final run to render any last tiles that arrived
110-
let _ = harness.try_run_realtime();
109+
// One final frame to paint the tiles that arrived in the last loop iteration.
110+
harness.step();
111111
}
112112

113113
harness.render().expect("Failed to render headless image")

0 commit comments

Comments
 (0)