1
0
Fork 0
forked from wry/wry

renderer: draw surface at full size unconditionally w/ edge clamping

This commit is contained in:
atagen 2026-04-07 20:05:14 +10:00
parent 5657f45668
commit 7aea0095e9
4 changed files with 39 additions and 5 deletions

View file

@ -706,6 +706,7 @@ impl dyn GfxFramebuffer {
Rect::new_saturating(0, 0, width, height)
},
icons: None,
stretch: None,
};
cursor.render_hardware_cursor(&mut renderer);
self.render(
@ -1039,6 +1040,7 @@ pub fn create_render_pass(
Rect::new_saturating(0, 0, width, height)
},
icons: state.icons.get(state, scale),
stretch: None,
};
node.node_render(&mut renderer, 0, 0, None);
if let Some(rect) = cursor_rect {