commit | b0c80ee8c2647dccb7a159a613eb72bb93a20db6 | [log] [tgz] |
---|---|---|
author | Laurenz Stampfl <47084093+LaurenzV@users.noreply.github.com> | Sun Apr 06 14:49:37 2025 +0200 |
committer | Laurenz Stampfl <47084093+LaurenzV@users.noreply.github.com> | Sun Apr 06 14:49:37 2025 +0200 |
tree | 3db92169fcb47adaf1ea9344c6d3404b849aaf69 | |
parent | edf5d952cea74f5e6c5b02c5115d22489e057aac [diff] |
Reset whole render context in `reset`
diff --git a/sparse_strips/vello_cpu/src/render.rs b/sparse_strips/vello_cpu/src/render.rs index 7f59892..b291c3e 100644 --- a/sparse_strips/vello_cpu/src/render.rs +++ b/sparse_strips/vello_cpu/src/render.rs
@@ -151,6 +151,10 @@ /// Reset the render context. pub fn reset(&mut self) { + self.line_buf.clear(); + self.tiles.reset(); + self.alphas.clear(); + self.strip_buf.clear(); self.wide.reset(); }