render: correctly render single-pixel buffers on scaled outputs
This commit is contained in:
parent
0632990f61
commit
a6cf1a1b3d
1 changed files with 1 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ impl Renderer<'_> {
|
||||||
if let Some(alpha) = alpha {
|
if let Some(alpha) = alpha {
|
||||||
color = color * alpha;
|
color = color * alpha;
|
||||||
}
|
}
|
||||||
self.base.fill_boxes(&[rect], &color);
|
self.base.fill_scaled_boxes(&[rect], &color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue