Fix mirroring with scale on target output
The actual render will pass a scale other than 1.0 here, so this needs to do the same.
This commit is contained in:
parent
3f5c64f50f
commit
9963887ac5
1 changed files with 2 additions and 1 deletions
|
|
@ -1112,7 +1112,8 @@ impl SurfaceThreadState {
|
|||
None,
|
||||
Kind::Unspecified,
|
||||
);
|
||||
let texture_geometry = texture_elem.geometry(1.0.into());
|
||||
let texture_geometry =
|
||||
texture_elem.geometry(self.output.current_scale().fractional_scale().into());
|
||||
elements = constrain_render_elements(
|
||||
std::iter::once(texture_elem),
|
||||
(0, 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue