1
0
Fork 0
forked from wry/wry

render: correctly render single-pixel buffers on scaled outputs

This commit is contained in:
Julian Orth 2024-07-10 20:30:26 +02:00
parent 0632990f61
commit a6cf1a1b3d

View file

@ -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 {