1
0
Fork 0
forked from wry/wry

render: bound all textures

This commit is contained in:
Julian Orth 2025-02-24 11:14:19 +01:00
parent 5625b0585f
commit 31747cef4a
2 changed files with 8 additions and 12 deletions

View file

@ -76,7 +76,7 @@ impl RendererBase<'_> {
self.fill_boxes3(boxes, color, dx, dy, false);
}
fn fill_boxes3(&mut self, boxes: &[Rect], color: &Color, dx: i32, dy: i32, scaled: bool) {
pub fn fill_boxes3(&mut self, boxes: &[Rect], color: &Color, dx: i32, dy: i32, scaled: bool) {
if boxes.is_empty() || *color == Color::TRANSPARENT {
return;
}