Skip to content

Commit

Permalink
render: correctly render single-pixel buffers on scaled outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh committed Jul 10, 2024
1 parent 44bdca8 commit e37cee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ impl Renderer<'_> {
if let Some(alpha) = alpha {
color = color * alpha;
}
self.base.fill_boxes(&[rect], &color);
self.base.fill_scaled_boxes(&[rect], &color);
}
}
} else {
Expand Down

0 comments on commit e37cee3

Please sign in to comment.