render: make damage visualizer slightly less inefficient
This commit is contained in:
parent
225dda8e5b
commit
e12ececca4
9 changed files with 30 additions and 19 deletions
|
|
@ -1302,7 +1302,7 @@ impl State {
|
|||
&staging,
|
||||
capture.clone(),
|
||||
mem.clone(),
|
||||
Region::new2(capture.rect.at_point(0, 0)),
|
||||
Region::new(capture.rect.at_point(0, 0)),
|
||||
)
|
||||
.map_err(ShmScreencopyError::ReadPixels)?;
|
||||
Ok(pending)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue