1
0
Fork 0
forked from wry/wry

output-schedule: fix hardware cursor updates

This commit is contained in:
Julian Orth 2024-10-29 08:49:51 +01:00
parent 163bb2c893
commit 7e40e90c4d
3 changed files with 8 additions and 0 deletions

View file

@ -173,6 +173,9 @@ impl MetalConnector {
_ => return Ok(()),
};
if self.has_damage.get() > 0 || self.cursor_damage.get() {
node.schedule.commit_cursor();
}
self.latch_cursor(&node)?;
let cursor_programming = self.compute_cursor_programming();
let latched = self.latch(&node);