metal: keep output presentable if atomic commit fails
This commit is contained in:
parent
5de4f0962f
commit
05b30c0a09
1 changed files with 4 additions and 3 deletions
|
|
@ -395,11 +395,12 @@ impl MetalConnector {
|
||||||
}
|
}
|
||||||
_ => log::error!("Could not set plane framebuffer: {}", ErrorFmt(e)),
|
_ => log::error!("Could not set plane framebuffer: {}", ErrorFmt(e)),
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
self.can_present.set(false);
|
self.can_present.set(false);
|
||||||
self.has_damage.set(false);
|
self.has_damage.set(false);
|
||||||
self.cursor_changed.set(false);
|
self.cursor_changed.set(false);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Connector for MetalConnector {
|
impl Connector for MetalConnector {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue