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,10 +395,11 @@ 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.has_damage.set(false);
|
||||||
|
self.cursor_changed.set(false);
|
||||||
}
|
}
|
||||||
self.can_present.set(false);
|
|
||||||
self.has_damage.set(false);
|
|
||||||
self.cursor_changed.set(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue