Skip to content

Commit

Permalink
Add missing fill type
Browse files Browse the repository at this point in the history
  • Loading branch information
msiglreith committed Aug 16, 2024
1 parent af8057a commit a9cf8e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vello/src/scene.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ impl Scene {

let shape: Rect =
Rect::from_center_size((0.0, 0.0), rect.size()).inflate(kernel_size, kernel_size);
self.encoding.encode_fill_style(Fill::NonZero);
if self.encoding.encode_shape(&shape, true) {
self.encoding.encode_blurred_rounded_rect(
brush,
Expand Down

0 comments on commit a9cf8e3

Please sign in to comment.