render: force black background color for fullscreen nodes
This commit is contained in:
parent
609f6f99cd
commit
41754e268f
6 changed files with 46 additions and 4 deletions
|
|
@ -743,7 +743,7 @@ impl State {
|
|||
rr: &mut RenderResult,
|
||||
render_hw_cursor: bool,
|
||||
) {
|
||||
fb.render_node(
|
||||
fb.render_output(
|
||||
output,
|
||||
self,
|
||||
Some(output.global.pos.get()),
|
||||
|
|
@ -794,7 +794,7 @@ impl State {
|
|||
}
|
||||
}
|
||||
}
|
||||
let clear = target.format().has_alpha.then_some(&Color::TRANSPARENT);
|
||||
let clear = target.format().has_alpha.then_some(&Color::SOLID_BLACK);
|
||||
target.render(ops, clear);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue