Extract Niri::update_render_elements()

This commit is contained in:
Ivan Molodetskikh
2024-08-23 12:48:05 +03:00
parent 63defc25d2
commit 09f3d3fb12
3 changed files with 13 additions and 28 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ impl TestCase for Layout {
renderer: &mut GlesRenderer,
_size: Size<i32, Physical>,
) -> Vec<Box<dyn RenderElement<GlesRenderer>>> {
self.layout.update_render_elements(&self.output);
self.layout.update_render_elements(Some(&self.output));
self.layout
.monitor_for_output(&self.output)
.unwrap()